ROMS-SWAN coupling test case. Missing mpi nodes.

Discussion of how to use ROMS on different regional and basin scale applications.

Moderators: arango, robertson

Post Reply
Message
Author
bosnic
Posts: 4
Joined: Thu Jun 09, 2011 2:10 pm
Location: Faculdade de Ciências, Universidade de Lisboa

ROMS-SWAN coupling test case. Missing mpi nodes.

#1 Unread post by bosnic »

Hi everyone.
I finally have roms running on linux (Red Hat vs. 5.2) and I have successfully run the upwelling test case. However, once I intent to use ROMS-SWAN coupling model, the inlet test case seemed more realistic to my case. For that, I installed mpich2 and mct library. Then, I compiled it just like that:

./build.bash -j 8

And I got the executable oceanG without any problem. But when I tried to run it:

mpiexec -np 8 ./oceanG ./coupling_inlet_test.in

I've got the error:

Coupled Input File name = ./coupling_inlet_test.in
Coupled Input File name = ./coupling_inlet_test.in
Coupled Input File name = ./coupling_inlet_test.in
Coupled Input File name = ./coupling_inlet_test.in
Coupled Input File name = ./coupling_inlet_test.in

MOD_COUPLER - Number assigned processors: 007
not equal to spawned MPI nodes: 001
Coupled Input File name = ./coupling_inlet_test.in

MOD_COUPLER - Number assigned processors: 007
not equal to spawned MPI nodes: 001

MOD_COUPLER - Number assigned processors: 007
not equal to spawned MPI nodes: 001
Coupled Input File name = ./coupling_inlet_test.in

MOD_COUPLER - Number assigned processors: 007
not equal to spawned MPI nodes: 001

MOD_COUPLER - Number assigned processors: 007
not equal to spawned MPI nodes: 001

MOD_COUPLER - Number assigned processors: 007
not equal to spawned MPI nodes: 001
Coupled Input File name = ./coupling_inlet_test.in

MOD_COUPLER - Number assigned processors: 007
not equal to spawned MPI nodes: 001

MOD_COUPLER - Number assigned processors: 007
not equal to spawned MPI nodes: 001

Once I've got a 8 processor pc, in my coupling_inlet_test.in I have the following thread definition:

Nthreads(ocean) = 4
Nthreads(waves) = 4

I don't know what is happening. I tried to re-install mpich2 and recompile MCT but it didn't work. It seems that mpich only see 1 processor (node). Anybody has seen this error before? Thank you very much.

Ivana

bosnic
Posts: 4
Joined: Thu Jun 09, 2011 2:10 pm
Location: Faculdade de Ciências, Universidade de Lisboa

Re: ROMS-SWAN coupling test case. Missing mpi nodes.

#2 Unread post by bosnic »

Problem solved!
The paths to the mpirun and mpiexec were by default to openmpi library :) .

Ivana

Post Reply