[cam-users] CGD Forums
phpbb at cgd.ucar.edu
phpbb at cgd.ucar.edu
Fri Oct 15 10:00:00 MDT 2004
Dear cam-users,
As you requested, here is the latest digest of messages posted on CGD Forums forums. Please come and join the discussion!
<< issues linking to the MPI library, http://bb.cgd.ucar.edu//viewtopic.php?t=30 >>
Postercathryn.meyer at yale.eduPostedFri Oct 15, 2004 2:24 pm MDT, http://bb.cgd.ucar.edu//viewtopic.php?p=78#78
Message: I am trying to compile CAM3.0 (patched version) on a linux cluster, however the MPI library is not linking properly. When I attempt to compile the model, I get the following error messages (I get more than what I have pasted below, I cut most of them out to save space):
<br />
<br />------------------------------------------------------------
<br />: multiple definition of `MAIN_'
<br />cam.o(.text+0x10): first defined here
<br />/usr/bin/ld: Warning: size of symbol `MAIN_' changed from 5339 to 49 in
<br />test_mpi.o
<br />STATICEcosysDynMod.o(.text+0x3a62): In function
<br />`staticecosysdynmod_readmonthlyvegetation_':
<br />: undefined reference to `mpi_bcast_'
<br />STATICEcosysDynMod.o(.text+0x3ac5): In function
<br />`staticecosysdynmod_readmonthlyvegetation_':
<br />: undefined reference to `mpi_bcast_'
<br />STATICEcosysDynMod.o(.text+0x3b28): In function
<br />`staticecosysdynmod_readmonthlyvegetation_':
<br />: undefined reference to `mpi_bcast_'
<br />
<b!
r />surfFileMod.o(.text+0x3d00): In function `surffilemod_surfrd_':
<br />: undefined reference to `mpi_bcast_'
<br />surfFileMod.o(.text+0x3d35): In function `surffilemod_surfrd_':
<br />: undefined reference to `mpi_bcast_'
<br />surfFileMod.o(.text+0x3d6a): In function `surffilemod_surfrd_':
<br />: undefined reference to `mpi_bcast_'
<br />surfFileMod.o(.text+0x3da4): In function `surffilemod_surfrd_':
<br />: undefined reference to `mpi_bcast_'
<br />surfFileMod.o(.text+0x3dde): In function `surffilemod_surfrd_':
<br />: undefined reference to `mpi_bcast_'
<br />surfFileMod.o(.text+0x3e13): more undefined references to `mpi_bcast_'
<br />follow
<br />swap_comm.o(.text+0x35): In function `swap_comm_swap_comm_init_':
<br />rrier_':
<br />
<br />wrap_mpi.o(.text+0x1fd9): In function `mpiallgatherint_':
<br />: undefined reference to `mpi_allgather_'
<br />gmake: *** Error 2
<br />---------------------------------------------------------------
<br />
<br />Any thoughts?
<b!
r />
<br />Cathy
------------------------------
PosterjmccaaPostedFri Oct 15, 2004 2:55 pm MDT, http://bb.cgd.ucar.edu//viewtopic.php?p=79#79
Message: We'll need more information to help:
<br />What version of mpi are you using?
<br />What compilers (c and fortran, exact versions) are you using?
<br />What configure command did you issue to configure the model?
<br />
<br />If you've modified the configure script or your Makefile, please describe those changes as well.
<br />
<br />Jim
------------------------------
<< initial condition files, http://bb.cgd.ucar.edu//viewtopic.php?t=29 >>
PosterjmccaaPostedThu Oct 14, 2004 3:46 pm MDT, http://bb.cgd.ucar.edu//viewtopic.php?p=77#77
Message: First of all, the sst dataset you require is distributed with the model. The file atm/cam2/sst/sst_HadOIBl_bc_64x128_1949_2001_c020411.nc contains SSTs from 1949 through 2001.
<br />
<br />The easiest way to obtain the initial conditions you need is to have the model generate them itself. You'll need to build a namelist containing the following entries (along with the standard entries):
<br />START_YMD = '19960901'
<br />NELAPSE = -123
<br />SSTCYC = .FALSE.
<br />BNDTVS='<path_to_sst_files>/sst_HadOIBl_bc_64x128_1949_2001_c020411.nc'
<br />
<br />This will start the model integrating on Sep 1, 1996. When it reaches Jan 1, 1997, it will by default write out a set of initial conditions for the land and atmosphere. You may use these for subsequent experiments.
<br />
<br />Jim
------------------------------
Format TEXT
Show Message Text YES
Show My Messages YES
Digest Frequency DAY
Show only new messages since last time I logged in FALSE
Send empty digests NO
Time of day to send digest 9 AM
Maximum characters per message in digest 32000
More information about the cam-users
mailing list