I am trying to run CAM 4.0 (as distributed with CCSM) on a linux cluster. The requirements for building and running are all met: Perl 5.4 or later, gmake, Fortran 90 and C compilers, a NetCDF library (3.6 or later). The code appears to configure fine (happy with the gmake, NetCDF library and MPI library), but it fails on building the model.
Basically the command "gmake >& MAKE.out" produces a suite of errors like:
fortcom: Error: /home/jshaman/ccsm4_0_a02/models/drv/driver/ccsm_driver.F90, line 46: Name in only-list does not exist. [OCN_FINAL_MCT]
use ocn_comp_mct, only: ocn_init_mct, ocn_run_mct, ocn_final_mct
------------------------------------------------------^
And then aborts with:
compilation aborted for /home/jshaman/ccsm4_0_a02/models/drv/driver/ccsm_driver.F90 (code 1)
gmake: *** [ccsm_driver.o] Error 1
I see that 'fortcom' errors typically indicate that the source files are being compiled in the wrong order and that utilities like 'makemake.perl' or 'mkmr.pl' can resolve this, but I'm really not sure how to implement this fix.
Do you have any suggestions, or do you know of anyone who has set up the new CAM in a similar environment?
Thanks,
Jeff
Basically the command "gmake >& MAKE.out" produces a suite of errors like:
fortcom: Error: /home/jshaman/ccsm4_0_a02/models/drv/driver/ccsm_driver.F90, line 46: Name in only-list does not exist. [OCN_FINAL_MCT]
use ocn_comp_mct, only: ocn_init_mct, ocn_run_mct, ocn_final_mct
------------------------------------------------------^
And then aborts with:
compilation aborted for /home/jshaman/ccsm4_0_a02/models/drv/driver/ccsm_driver.F90 (code 1)
gmake: *** [ccsm_driver.o] Error 1
I see that 'fortcom' errors typically indicate that the source files are being compiled in the wrong order and that utilities like 'makemake.perl' or 'mkmr.pl' can resolve this, but I'm really not sure how to implement this fix.
Do you have any suggestions, or do you know of anyone who has set up the new CAM in a similar environment?
Thanks,
Jeff