Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Linux-intel-openmpi build problems

Hello, everyone.
i met some problem in exebuild step. i tried to build CESM1.0 and CCSM4. they both didn't work.

CESM1.0:
it was stuck at the csm_share step and couldn't stop automatically without "ctrl+c" no matter "FC=mpif90 CC=mpicc" or "FC=ifort CC=icc".
eg:
Mon Oct 18 18:06:06 CST 2010 /mnt/test/test1/mct/mct.bldlog.101018-180605
Mon Oct 18 18:06:33 CST 2010 /mnt/test/test1/pio/pio.bldlog.101018-180605
Mon Oct 18 18:06:58 CST 2010 /mnt/test/test1/csm_share/csm_share.bldlog.101018-180605
vi the csm_share.bldlog, i found many missing variables.
eg:
/home/test/cesm1_0_1/models/utils/esmf_wrf_timemgr/ESMF_BaseMod.F90(672): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [TYPE]
subroutine ESMF_AttributeGetbyNumber(anytype, number, name, type, value, rc)
/home/test/cesm1_0_1/models/utils/timing/gptl.c(2156): warning #167: argument of type "int (*)(const char **, const char **)" is incompatible with parameter of type "__compar_fn_t" qsort( sort[t], count[t], sizeof(char*), cmp );
How can i solve the problem? Thank you first!
 
CCSM4:
i built CCSM4 on the same configure. i was stuck at the "ccsm.buildexe.csh"
it showed:

Mon Oct 18 18:30:33 CST 2010 /mnt/test/ccsm_test/mct/mct.bldlog.101018-183032
Mon Oct 18 18:30:59 CST 2010 /mnt/test/ccsm_test/pio/pio.bldlog.101018-183032
Mon Oct 18 18:31:24 CST 2010 /mnt/test/ccsm_test/csm_share/csm_share.bldlog.101018-183032
Mon Oct 18 18:31:44 CST 2010 /mnt/test/ccsm_test/run/cpl.bldlog.101018-183032
Mon Oct 18 18:31:44 CST 2010 /mnt/test/ccsm_test/run/atm.bldlog.101018-183032
Mon Oct 18 18:31:44 CST 2010 /mnt/test/ccsm_test/run/lnd.bldlog.101018-183032
Mon Oct 18 18:31:45 CST 2010 /mnt/test/ccsm_test/run/ice.bldlog.101018-183032
Mon Oct 18 18:31:45 CST 2010 /mnt/test/ccsm_test/run/ocn.bldlog.101018-183032
Mon Oct 18 18:31:46 CST 2010 /mnt/test/ccsm_test/run/glc.bldlog.101018-183032
Mon Oct 18 18:31:46 CST 2010 /mnt/test/ccsm_test/run/ccsm.bldlog.101018-183032
ERROR: ccsm.buildexe.csh failed, see /mnt/test/ccsm_test/run/ccsm.bldlog.101018-183032
ERROR: cat /mnt/test/ccsm_test/run/ccsm.bldlog.101018-183032
vi the ccsm.bldlog:
 
i solved most problems by adding the "-i_dynamic" and "-lcurl".
Now only one error exists as follows:

/opt/openmpi-1.4.2-intel/lib/libmpi_f90.so: undefined reference to `pgf90_compiled'

i don't know which parameter to add. who can help me?
 

eaton

CSEG and Liaisons
The undefined reference is coming from your mpi library. It appears that libmpi_f90.so was built using pgf90 (even though the name of the directory contains the name intel which would imply that it was built using intel compilers). You need to have a version of libmpi_f90.so that is built with ifort.
 
eaton said:
The undefined reference is coming from your mpi library. It appears that libmpi_f90.so was built using pgf90 (even though the name of the directory contains the name intel which would imply that it was built using intel compilers). You need to have a version of libmpi_f90.so that is built with ifort.

thanks, eaton.
i have solved the problem!
 
Top