Running ROMS on the IBM p5-575 server

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
chenjung
Posts: 5
Joined: Fri Dec 29, 2006 11:02 pm
Location: NSYSU

Running ROMS on the IBM p5-575 server

#1 Unread post by chenjung »

Hello, everyone:
I'm a new ROMS user. I try to run upwelling case on IBM p5-575 server with MPI.
I already copy input file into my work directory and produced excutable file oceanM.
Here is my run script.
#!/bin/ksh
#
#@ jobname =ROMStest
#@ output = $(jobname).$(jobid)
#@ error = $(output)
#@ node = 1
#@ tasks_per_node = 2
#@ resources = ConsumableCpus(1)
#@ job_type = parallel
#@ node_usage = not_shared
#@ network.MPI = sn_all,shared,US
#@ class = research
#@ queue

export TASKS_PER_NODE=16
export CPUS_PER_NODE=32
export nproc=2
export input=ocean_upwelling.in


# $MPIPATH/bin/mpirun -np $nproc OceanM
poe /package/local/helper oceanM $input > log -procs $nproc
----------------------------------------------------------------------
but there some error message in log file.
here is the message:

MP_CHILD = ,1, cpu_id = ,2
MP_CHILD = ,0, cpu_id = ,0
Process Information:

Node # 0 (pid= 123094) is active.
Node # 1 (pid= 118922) is active.

Model Input Parameters: ROMS/TOMS version 3.0
Monday - November 17, 2008 - 4:08:54 PM
-----------------------------------------------------------------------------

INP_PAR - Unable to open ROMS/TOMS input script file.
In distributed-memory applications, the input
script file is processed in parallel. The Unix
routine GETARG is used to get script file name.
For example, in MPI applications make sure that
command line is something like:

mpirun -np 4 ocean ocean.in

and not

mpirun -np 4 ocean < ocean.in


INP_PAR - Unable to open ROMS/TOMS input script file.
In distributed-memory applications, the input
script file is processed in parallel. The Unix
routine GETARG is used to get script file name.
For example, in MPI applications make sure that
command line is something like:

mpirun -np 4 ocean ocean.in

and not

mpirun -np 4 ocean < ocean.in
-----------------------------------------------------------------------------------
Could somebady help me to solve this problem??
Thanks a lot.
:mrgreen:

User avatar
gouillon
Posts: 9
Joined: Tue Sep 12, 2006 2:45 pm
Location: SHOM - Toulouse
Contact:

Re: Running ROMS on the IBM p5-575 server

#2 Unread post by gouillon »

The problem is that ROMS cannot find your ocean_upwelling.in (usually located in the External directory). So either you don't have it or you have a mistake on specifying your paths.

chenjung
Posts: 5
Joined: Fri Dec 29, 2006 11:02 pm
Location: NSYSU

Re: Running ROMS on the IBM p5-575 server

#3 Unread post by chenjung »

gouillon wrote:The problem is that ROMS cannot find your ocean_upwelling.in (usually located in the External directory). So either you don't have it or you have a mistake on specifying your paths.
Thanks your replay.
I had solved this problem.
I change the script, then it's work.

original:
poe /package/local/helper oceanM $input > log -procs $nproc

changed:
poe -procs $nproc oceanM $input > log

Post Reply