Main menu

Navigation

Errors while setting SCAM under the CESM circumstances

4 posts / 0 new
Last post
siwon.song@...
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

Siwon Song

goldy

Siwon,

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

--Steve

matthew.henry@...

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/soft.computecanada.ca/easybuild/software/2017/Core/cesm/1_2_2/models/atm/cam/src/utils/spmd_utils.F90(52): 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/soft.computecanada.ca/easybuild/software/2017/Core/cesm/1_2_2/models/atm/cam/src/utils/spmd_utils.F90 (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. (https://bb.cgd.ucar.edu/spmdutilsf90-compilation-error-serial-compilation)

siwon.song@...

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

  • kamal.tewari1@...
  • rchemke
  • abdulla.sakalli@...
  • mehmetugurgucel@...
  • borst