atp42@cornell_edu
New Member
Hi,
So, I was finally able to successfully built the X compset of the CESM. I changed the system configuration a little bit.
Compilation went pretty smoothly with 3 exceptions. First the "make" command on my system is 'make' (GNU Make 3.81) not 'gmake' so I converted all the gmake commands to "make" using, grep -lr -e 'gmake' * | xargs sed -i 's/gmake/make/g'
Second was that there was a lot of "undefined reference" errors (hundreds) while building ccsm.buildexe.csh. I added the "-shared nounderscore" flag, and when that didn't work I added the '-shared' tag to the Makefile and '-fPIC' to the Macros file.
After these two changes, the model builds successfully, but when I try to execute ccsm.exe (mpirun -n 4 ./ccsm.exe >& ccsm.log), I get the following error.
If you think any other information or feedback would be helpful please let me know and I'll post it ASAP.
I think it might have something to do with the shared and fPIC flags that I used, but if it is then I'm not sure how to how to resolve the undefined reference errors.
Any help or advice you can give will be greatly appreciated.
Thank you,
Aaron
So, I was finally able to successfully built the X compset of the CESM. I changed the system configuration a little bit.
Intel Compilers (ifort, icc, icpc) version 12.1.0
OpenMPI version 1.4.3 (compiled with and linked to intel compilers)
netCDF version 4.1.3 w/o HDF5 (compiled with intel compilers)
Linux/Ubuntu
4 intel processors with 4 GB of ram (we want to link to 3 other identical systems)
based configuration off of generic_linux_intel
OpenMPI version 1.4.3 (compiled with and linked to intel compilers)
netCDF version 4.1.3 w/o HDF5 (compiled with intel compilers)
Linux/Ubuntu
4 intel processors with 4 GB of ram (we want to link to 3 other identical systems)
based configuration off of generic_linux_intel
Compilation went pretty smoothly with 3 exceptions. First the "make" command on my system is 'make' (GNU Make 3.81) not 'gmake' so I converted all the gmake commands to "make" using, grep -lr -e 'gmake' * | xargs sed -i 's/gmake/make/g'
Second was that there was a lot of "undefined reference" errors (hundreds) while building ccsm.buildexe.csh. I added the "-shared nounderscore" flag, and when that didn't work I added the '-shared' tag to the Makefile and '-fPIC' to the Macros file.
After these two changes, the model builds successfully, but when I try to execute ccsm.exe (mpirun -n 4 ./ccsm.exe >& ccsm.log), I get the following error.
There were no other errors or feedback, although while going through logs I did find a file called wrf_error_fatal.F90, could this be an issue? I also found this error in the PIO build log...--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 23066 on node catalina3 exited on signal 11 (Segmentation fault).
--------------------------------------------------------------------------
/opt/openmpi-1.4.3/bin/mpif90 -c -fPIC -assume nounderscore -I/opt/openmpi-1.4.3/include -DSYSLINUX -DLINUX -DCPRUNKNOWNCPR -DSPMD -DHAV
E_MPI -DUSEMPIIO -D_NETCDF -D_NOPNETCDF -D_NOUSEMCT -D_USEBOX -I/opt/openmpi-1.4.3/include -I/usr/local/include piolib_mod.F90
piolib_mod.F90(429): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [IODESC]
subroutine PIO_initdecomp_dof_dof(iosystem,basepiotype,dims,compdof,iodesc,iodof)
----------------------------------------------------------------------^
piolib_mod.F90(394): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [IODESC]
subroutine PIO_initdecomp_bc(iosystem,basepiotype,dims,compstart,compcount,iodesc,iostart,iocount)
-----------------------------------------------------------------------------^
piolib_mod.F90(1797): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [IOPROC]
subroutine pio_recommend_iotasks(comm, ioproc, numiotasks, miniotasks, maxiotasks )
-----------------------------------------^
piolib_mod.F90(1797): warning #6843: A dummy argument with an explicit INTENT(OUT) declaration is not given an explicit value. [NUMIOTAS
KS]
subroutine pio_recommend_iotasks(comm, ioproc, numiotasks, miniotasks, maxiotasks )
-------------------------------------------------^
If you think any other information or feedback would be helpful please let me know and I'll post it ASAP.
I think it might have something to do with the shared and fPIC flags that I used, but if it is then I'm not sure how to how to resolve the undefined reference errors.
Any help or advice you can give will be greatly appreciated.
Thank you,
Aaron