Last change
on this file since 5053 was
5053,
checked in by jgipsl, 4 years ago
|
Add -I in front of variable INCLUDE which is used in makelmdz_fcm because module load of openmpi and pnetcodf addes include path to INCLUDE variable. This is done to avoid following error message while compiling at obelix:
cpp: error: /usr/local/install/pnetcdf-1.5.0/include:/usr/local/install/openmpi-2.1.5/include: No such file or directory
cpp: warning: '-x c' after last input file has no effect
cpp: fatal error: no input files
compilation terminated.
cpp -P -traditional /usr/local/install/pnetcdf-1.5.0/include:/usr/local/install/openmpi-2.1.5/include -I/home/scratch01/jghattas/LMDZOR/modipsl_30mars/modeles/LMDZ/../../lib -I/home/scratch01/jghattas/LMDZOR/modipsl_30mars/modeles/LMDZ/../../lib -I/home/scratch01/jghattas/LMDZOR/modipsl_30mars/modeles/LMDZ/../IOIPSL/inc -I/home/scratch01/jghattas/LMDZOR/modipsl_30mars/modeles/LMDZ/../XIOS/inc -I/usr/local/install/netcdf-4.3.2p/include -DCPP_PHYS -DCPP_EARTH -DCPP_PARA -DCPP_MPI -DCPP_VEGET -DCPP_RRTM -DCPP_IOIPSL -DCPP_XIOS -DCPP_IOIPSL_NO_OUTPUT -DNC_DOUBLE -I/home/scratch01/jghattas/LMDZOR/modipsl_30mars/modeles/LMDZ/libo/ifort_LSCE_144x142x79_phylmd_para_mem_orch.e/.config/inc su_aerp.F90 failed (256) at /home/scratch01/jghattas/LMDZOR/modipsl_30mars/modeles/LMDZ/tools/fcm/lib/Fcm/SrcFile.pm line 820.
The error was present only when using arch.env file. When loading modules before launching makelmdz_fcm, variable INCLUDE is reset in the beginning of makelmdz_fcm and therfore no problme was enountered.
|
File size:
458 bytes
|
Line | |
---|
1 | # Compile and running environnemnet for obelix at LSCE |
---|
2 | set +e |
---|
3 | # source following file to initialize module command |
---|
4 | source /usr/share/Modules/init/bash |
---|
5 | module purge |
---|
6 | |
---|
7 | module load openmpi/2.1.5 |
---|
8 | module load hdf5/1.8.9p |
---|
9 | module load pnetcdf/1.5.0 |
---|
10 | module load netcdf/4p |
---|
11 | module load gcc/5.2.0 |
---|
12 | |
---|
13 | # Add -I in front of variable INCLUDE which is used in makelmdz_fcm because module load of openmpi and pnetcodf addes include path to INCLUDE variable |
---|
14 | INCLUDE=-I$INCLUDE |
---|
15 | |
---|
Note: See
TracBrowser
for help on using the repository browser.