This site is migrating to a new forum software on Tuesday, September 24th 2019, you may experience a short downtime during this transition

Main menu


Errors while setting SCAM under the CESM circumstances

4 posts / 0 new
Last post
Errors while setting SCAM under the CESM circumstances

Hi all,


While we set up the SCAM under the CESM 1.2.2 version, we encountered an error related to 'no spmd' and 'mpi-serial'.

We created new case and there was no error until the setup stage.

Once we build the case, there were errors to turn off the spmd.

We tried to to turn off the spmd in several ways, but did not succeed yet. Moreover, there was an error related to the "mpi-serial', which is not installed on our computer system.


Does anyone have any idea to solve this technical issue?

Thank you so much.


Best Regards,


Siwon Song



First, I have moved this to the SCAM section which is appropriate for this subject.

Next, please post the commands you run to try and build SCAM so we can try and help with the problem.

Note that mpi-serial is not something installed on your machine but is a library included with CESM1.2.2.

To build SCAM with no MPI library, your configure command should have these options: -nospmd -nosmp -scam



Hi Siwon and Steve,

I am having similar issues while trying a FSCM5A97 compset.

I set the -nospmd -nosmp -scam options in the configure command (CAM_CONFIG_OPTS in env_build.xml). And I get the followong error at the build stage:

/cvmfs/ error #6418: This name has already been assigned a data type.   [MPI_STATUS_IGNORE]
   integer :: mpi_status_ignore     ! Needs to be defined in mpi-serial
compilation aborted for /cvmfs/ (code 1)
gmake: *** [spmd_utils.o] Error 1

Any ideas on how to solve it?

I saw someone else try the brute force method of commenting out the line causing trouble, which seemed to work. (

Hi Matthew,


Since this issue happened, but couldn't get the right solution, we decided to run the standalone mode of SCAM with run-scam.csh script because we only need to run the single column model. I am not sure it would be helpful in your case, but I'll write down the process what I did just in case if it would be helpful. In my case, this issue is solved to load specific intel-fc and -cc.

1. we loaded "intel-fc/14.3.174" & "intel-cc/14/3/174".

2. we removed the tag "-f" in the first line on 'run-scam.csh'.

3. Just in case if you want to compare your configure command with mine, I set it as below (it is in the 'run-scam.csh' in my case).

$CAM_ROOT/models/atm/cam/bld/configure -s -chem none -nlev $levarr -dyn eul -res 64x128 -nospmd -nosmp -scam -ocn dom -phys cam5 -usr_src $SCAM_MODS -fc ifort


Our solution might be too specific and not the ideal one. Sorry about that, but hope to be helpful in some way!

Good luck!


- Siwon


Siwon Song

Log in or register to post comments

Who's new

  • jwolff
  • tinna.gunnarsdo...
  • sarthak2235@...
  • eolivares@...
  • shubham.gandhi@...