ROMS2.3 background running problem under PGI + MPI

Report or discuss software problems and other woes

Moderators: arango, robertson

Post Reply
Message
Author
FengZhou
Posts: 52
Joined: Wed Apr 07, 2004 10:48 pm
Location: 2nd Institute of Oceanography,SOA

ROMS2.3 background running problem under PGI + MPI

#1 Unread post by FengZhou »

Hi,

Can everyone tell me how to run roms2.3 backgroundly under PGI+MPI environments?

With serial mode, it can be done as:
./oceanS <External> logbohai_200709.out &

While in parallel mode, it have been compiled to get the executable file oceanM with MPIf90 using PGF90 compiler. And submitted as:
nohup mpirun -np 4 -machinefile ~/mpi-1.2.7pgi/share/machines.LINUX ./oceanM External/ocean_bohai.in > logmpi.out &

The model runs very well until I exit the SSH terminal. The error messages are:
p0_11986: p4_error: interrupt SIGx: 1
p0_11986: (13236.103119) net_send: could not write to fd=4, errno = 32

I have tried several times and just find that the model would stop after I quitted the SSH terminal where I submitted the job.

I use compiler PGI 7.0-3.


b.t.w if I use compiling flag :
FFLAGS += -g -c

or
FFLAGS += -c -fastsse -Mipa=fast -tp p7

I can't get a executable file like oceanM without error messages.

Now I use flags:
FFLAGS += -r8 -i4 -Kieee -Mdalign -Mextend

Anyone knows why?

Any suggestions are welcome sincerely. Thank you in advance!

ZHOU

jpringle
Posts: 108
Joined: Sun Jul 27, 2003 6:49 pm
Location: UNH, USA

#2 Unread post by jpringle »

Try putting the model run with a shell script, executing the shell script, and then logging out.

Our you can use the "screen" utility, which lets you disconnect from an active shell session, and reconnect to it later.

Cheers,
Jamie

zhang
Posts: 27
Joined: Fri Mar 11, 2005 9:17 pm
Location: Woods Hole Oceanographic Institution

#3 Unread post by zhang »

Hey, Zhoufeng,

You should really consider to update the code. There has been a lot of changes both in model and in compilers since then. Personally, I don't have any experience with roms2.3, but I wouldn't be surprised by some problem between very old version of roms and new version of compilers.


Weifeng
zhang@marine.rutgers.edu
Last edited by zhang on Fri Sep 07, 2007 1:06 pm, edited 1 time in total.

FengZhou
Posts: 52
Joined: Wed Apr 07, 2004 10:48 pm
Location: 2nd Institute of Oceanography,SOA

#4 Unread post by FengZhou »

Hi, Jamie, Thank you!
A simple shell script works!


Hi, Weifeng,
Thank you for the suggestions. I will bother you if necessary:)
Do I know you? I have a friend has the close name with you from Zhejiang University. He is in U.S.A now:)

zhang
Posts: 27
Joined: Fri Mar 11, 2005 9:17 pm
Location: Woods Hole Oceanographic Institution

#5 Unread post by zhang »

FengZhou wrote:

Hi, Weifeng,
Thank you for the suggestions. I will bother you if necessary:)
Do I know you? I have a friend has the close name with you from Zhejiang University. He is in U.S.A now:)
Yes, it is me.

Post Reply