[cam-users] CGD Forums

phpbb at cgd.ucar.edu phpbb at cgd.ucar.edu
Tue Oct 19 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!


<<  OpenMP: segmentation fault, http://bb.cgd.ucar.edu//viewtopic.php?t=32 >>

PosterPavel MankevichPostedTue Oct 19, 2004 5:25 am MDT, http://bb.cgd.ucar.edu//viewtopic.php?p=88#88
Message: Dear All,
<br />I'm trying to get OpenMP version of CAM3.0.p1 running on 4CPU Itanium machine. I use ifort8.0.039_pl044.1 compiler. Compillation and linking goes OK.  Stack size is set unlimited. But when running the code I receive the message:
<br />
<br /> ICEINI: Read ice data for dates          816       43200  and          916
<br />           0
<br /> nstep, te           0   3340167301.58743       0.000000000000000E+000
<br />  0.000000000000000E+000   98466.2417923964     
<br />Segmentation fault
<br />
<br />Has anyone run into the same problem? Maybe someone could tell me which options and envvars to use?
<br />
<br />Thanks in advance ,
<br />Pavel

------------------------------

<<  issues linking to the MPI library, http://bb.cgd.ucar.edu//viewtopic.php?t=30 >>

Postercathryn.meyer at yale.eduPostedMon Oct 18, 2004 1:36 pm MDT, http://bb.cgd.ucar.edu//viewtopic.php?p=84#84
Message: If I issue the following command,
<br />
<br />[ccm33 at bulldoga ccm33]$ cam1/models/atm/cam/bld/configure -spmd
<br />
<br />I get this output:
<br />
<br />creating /home/ccm33/Filepath
<br />creating /home/ccm33/params.h
<br />creating /home/ccm33/misc.h
<br />creating /home/ccm33/preproc.h
<br />creating /home/ccm33/Makefile
<br />creating /home/ccm33/config_cache.xml
<br />configure done.
<br />---------------------------------------------------------------------------------------
<br />
<br />This seems to work fine.  The netcdf and mpi include and lib directories are specified in my Makefile correctly.   However after running configure this way, I then run gmake (after doing make clean) and get the huge list of errors like:
<br />
<br />
<br />-----------------------------------------------------------------------------------------
<br />test_mpi.o(.text+0x10): In function `MAIN_':
<br />: multiple definition of `MAIN_'
<br />cam.o(.text+0x10): first defined he!
re
<br />/usr/bin/ld: Warning: size of symbol `MAIN_' changed from 5339 to 49 in test_mpi.o
<br />STATICEcosysDynMod.o(.text+0x3a62): In function `staticecosysdynmod_readmonthlyvegetation_':
<br />: undefined reference to `mpi_bcast_'
<br />STATICEcosysDynMod.o(.text+0x3ac5): In function `staticecosysdynmod_readmonthlyvegetation_':
<br />: undefined reference to `mpi_bcast_'
<br />STATICEcosysDynMod.o(.text+0x3b28): In function `staticecosysdynmod_readmonthlyvegetation_':
<br />: undefined reference to `mpi_bcast_'
<br />STATICEcosysDynMod.o(.text+0x3b8b): In function `staticecosysdynmod_readmonthlyvegetation_':
<br />: undefined reference to `mpi_bcast_'
<br />---------------------------------------------------------------------------------
<br />
<br />However if I configure interactively, setting spmd on this way, I get the error output shown in a previous email above when the test of the MPI library failed.  I am not sure why configure works when it is not run interactiv!
ely.  
<br />
<br />Either way, the MPI library is not linkin!
 g correc
tly, even though it is specified correctly.
<br />
<br />Cathy

------------------------------
PosterjmccaaPostedTue Oct 19, 2004 2:36 pm MDT, http://bb.cgd.ucar.edu//viewtopic.php?p=91#91
Message: Cathy,
<br />
<br />It looks like your MPI library might have been built with a fortran compiler that is incompatible with the compiler you are using to compile CAM.  You can generally check the symbols in your mpi library by doing something like:
<br />
<br />nm $LIB_MPI/libmpich.a | grep mpi_bcast_
<br />
<br />This should yield:
<br />00000000 T mpi_bcast_
<br />
<br />If it doesn't, then:
<br />If it can't find  $LIB_MPI/libmpich.a, you haven't specified LIB_MPI correctly, or else mpi is not installed correctly.
<br />If it has a different number of underscores (most likely 2), you'll have to reconfigure mpi and reinstall it.
<br />If it finds the library, but not the symbol, then mpi is not built/installed correctly.
<br />
<br />If the symbol appears as above, then your problem is in the CAM configuration.  
<br />
<br />Jim

------------------------------

<<  radiation calculation, http://bb.cgd.ucar.edu//viewtopic.php?t=31 >>

Postercathryn.meyer at yale.eduPostedMon Oct 18, 2004 2:05 pm MDT, http://bb.cgd.ucar.edu//viewtopic.php?p=85#85
Message: I am running CAM3.0 in aquaplanet mode with revised SSTs to get rid of the Hadley circulation.  In order to make this work correctly, I need to compute radiation as though there are no clouds in the atmosphere.  I am thinking of changing the minimum cloud amount to distinguish from clear sky OR the cloud fraction that are used in the model physics code RADCSWMX.  Would this be a good way to proceed with this?  Is there any single variable that is read into this code (if this is the correct code to use) that I could just turn off so the code does not see any clouds when it computes radiation?  I do not want to turn off clouds in the model though, I just do not want the radiation code to see them.
<br />
<br />If this is a more daunting task than I realize, would it be easier to read in a climatological radiation from a file and to turn off interactive (model calculated) radiation completely?
<br />
<br />Thanks,
<br />Cathy

------------------------------
PosterpjrPostedTue Oct 19, 2004 2:31 pm MDT, http://bb.cgd.ucar.edu//viewtopic.php?p=90#90
Message: You can achieve the results you want by modify tphysbc.F90  in the following way:
<br />
<br />find the lines that calls radctl.
<br />
<br />modify the call by replacing the string "cld" with the string "zero" 
<br />cld is an array containing  the real cloud fraction
<br />zero is an array filled with zeroes.
<br />
<br />Under these circumstances the radiation should not see any clouds.
<br />
<br />You can confirm that you have achieved the desired result by making a run and looking at the "cloud forcing" variables on the history files. These are called "SWCF" and "LWCF". If you got the correct result they will contain zero. If they are non-zero then you need to revisit the issue.
<br />
<br />Phil

------------------------------

<<  Correctness of output datasets, http://bb.cgd.ucar.edu//viewtopic.php?t=33 >>

PosterPavel MankevichPostedTue Oct 19, 2004 5:31 am MDT, http://bb.cgd.ucar.edu//viewtopic.php?p=89#89
Message: If I have some output datasets produced by CAM (using T42 for example)how can verify I get correct results?

------------------------------




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