EUPSForge / oorb_old

Automatically exported from code.google.com/p/oorb
GNU General Public License v3.0
0 stars 0 forks source link

ifort compiler path hard-coded into make.config #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
[ljones@athena0 oorb-test]$ ./configure intel opt
[ljones@athena0 oorb-test]$ cd main
[ljones@athena0 main]$ make oorb
cd ../classes ; make all
make[1]: Entering directory `/share/data1/ljones/oorb-test/classes'
cd ../modules ; make all
make[2]: Entering directory `/share/data1/ljones/oorb-test/modules'
/opt/intel/fce/10.0.023/bin/ifort -c -O3 -ip -static -fPIC parameters.f90
make[2]: /opt/intel/fce/10.0.023/bin/ifort: Command not found
make[2]: *** [parameters.o] Error 127
make[2]: Leaving directory `/share/data1/ljones/oorb-test/modules'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/share/data1/ljones/oorb-test/classes'
make: *** [classes] Error 2
[ljones@athena0 main]$ which ifort
/opt/intel/fce/10.1.011/bin/ifort

the reason being that in the oorb source code the make.config file has 

# Intel: 
FC_INTEL             = /opt/intel/fce/10.0.023/bin/ifort
FCOPTIONS_OPT_INTEL  = -O3 -ip -static -fPIC
FCOPTIONS_DEB_INTEL  = -g -fPIC
FC_INC_INTEL         = -I
FC_SHARED_INTEL      = -bundle

-- so FC_INTEL is set to a hardwired version of the ifort compiler. 

Simply changing the FC_INTEL value in the make.config to  'ifort'  (or your 
actual path to the 
compiler) solves the problem. 

Original issue reported on code.google.com by ljones...@gmail.com on 30 Jan 2010 at 4:22