Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

prerequisites and environment set up for intel ifort

ab1
Beginner
365 Views

trying to install ifort version 18.0.1 on ububtu 16.06 pl let me know what are the essential prerequisites for it.

how can i know the name of essentials as i am getting error while building sampling driver,

see /tmp/amplifier_sampling_build_26.03.18.14.13.24.log for details    this says

NOTE: NMI Interrupt Mode is set on 4.13.0-37-generic kernel
***************************************************************
  CC   /opt/intel/vtune_amplifier_2018.1.0.535340/sepdk/src/lwpmudrv.o
/opt/intel/vtune_amplifier_2018.1.0.535340/sepdk/src/lwpmudrv.c: In function ‘lwpmudrv_Get_Drv_Setup_Info’:
/opt/intel/vtune_amplifier_2018.1.0.535340/sepdk/src/lwpmudrv.c:4380:9: error: ‘x86_hyper’ undeclared (first use in this function)
     if (x86_hyper && x86_hyper->name) {
         ^
/opt/intel/vtune_amplifier_2018.1.0.535340/sepdk/src/lwpmudrv.c:4380:9: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:308: recipe for target '/opt/intel/vtune_amplifier_2018.1.0.535340/sepdk/src/lwpmudrv.o' failed
make[2]: *** [/opt/intel/vtune_amplifier_2018.1.0.535340/sepdk/src/lwpmudrv.o] Error 1
Makefile:1550: recipe for target '_module_/opt/intel/vtune_amplifier_2018.1.0.535340/sepdk/src' failed
make[1]: *** [_module_/opt/intel/vtune_amplifier_2018.1.0.535340/sepdk/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-37-generic'
Makefile:224: recipe for target 'default' failed
make: *** [default] Error 2

 

2   while setting up environment is this this correct way to write in bash file

source /opt/intel/compilers_libraries_2018.1.163/linux/bin/compilervars.sh -arch intel64 -platform linux

3 i want to link threads and shared files too permanently. how can i do it in bash file

 

ab

0 Kudos
2 Replies
ab1
Beginner
366 Views

trying to install ifort version 18.0.1 on ububtu 16.06

1   pl let me know what are the essential prerequisites for it.

2  i am getting error while building sampling driver,

see /tmp/amplifier_sampling_build_26.03.18.14.13.24.log for details    this says

NOTE: NMI Interrupt Mode is set on 4.13.0-37-generic kernel
***************************************************************
  CC   /opt/intel/vtune_amplifier_2018.1.0.535340/sepdk/src/lwpmudrv.o
/opt/intel/vtune_amplifier_2018.1.0.535340/sepdk/src/lwpmudrv.c: In function ‘lwpmudrv_Get_Drv_Setup_Info’:
/opt/intel/vtune_amplifier_2018.1.0.535340/sepdk/src/lwpmudrv.c:4380:9: error: ‘x86_hyper’ undeclared (first use in this function)
     if (x86_hyper && x86_hyper->name) {
         ^
/opt/intel/vtune_amplifier_2018.1.0.535340/sepdk/src/lwpmudrv.c:4380:9: note: each undeclared identifier is reported only once for each function it appears in
scripts/Makefile.build:308: recipe for target '/opt/intel/vtune_amplifier_2018.1.0.535340/sepdk/src/lwpmudrv.o' failed
make[2]: *** [/opt/intel/vtune_amplifier_2018.1.0.535340/sepdk/src/lwpmudrv.o] Error 1
Makefile:1550: recipe for target '_module_/opt/intel/vtune_amplifier_2018.1.0.535340/sepdk/src' failed
make[1]: *** [_module_/opt/intel/vtune_amplifier_2018.1.0.535340/sepdk/src] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-37-generic'
Makefile:224: recipe for target 'default' failed
make: *** [default] Error 2

how serious is this error ... does it mean compilr not installed properly. what should i do to resolve this eror

2 i have set the environment using (working in bash), i am using 64 bit ububtu OS

source /opt/intel/compilers_and_libraries_2018.1.163/linux/bin/compilervars.sh intel64      

3 at terminal i type source .bashrc  i get  Illegal variable name       

ab

0 Kudos
Eugene_E_Intel
Employee
366 Views

Hello,

Regarding the sampling driver issue, it doesn't seem to be Fortran related.  Please ask for help on VTune forum.

Thank you,

Eugene

0 Kudos
Reply