MOD_NCPARAM - Unable to open variable information file

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
Lee2015

MOD_NCPARAM - Unable to open variable information file

#1 Unread post by Lee2015 »

When I run "mpirun -np 8 oceanM ocean_lattec.in", I got the following error. What's the problem? Thanks!

Model Input Parameters: ROMS/TOMS version 3.7
Tuesday - February 16, 2016 - 4:17:54 PM
-----------------------------------------------------------------------------

MOD_NCPARAM - Unable to open variable information file:

Default file is located in source directory.
--------------------------------------------------------------------------
mpirun has exited due to process rank 0 with PID 11033 on
node lee-OptiPlex-9010 exiting improperly. There are two reasons this could occur:

1. this process did not call "init" before exiting, but others in
the job did. This can cause a job to hang indefinitely while it waits
for all processes to call "init". By rule, if one process calls "init",
then ALL processes must call "init" prior to termination.

2. this process called "init", but exited without calling "finalize".
By rule, all processes that call "init" MUST call "finalize" prior to
exiting or it will be considered an "abnormal termination"

This may have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
--------------------------------------------------------------------------

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: MOD_NCPARAM - Unable to open variable information file

#2 Unread post by kate »

It is looking for the file, the name of which is provided in the ocean.in file:

Code: Select all

! Input variable information file name.  This file needs to be processed
! first so all information arrays can be initialized properly.

     VARNAME = /center/w/kate/NEP/External/varinfo.dat
Do you have a VARNAME line in your input file?

Lee2015

Re: MOD_NCPARAM - Unable to open variable information file

#3 Unread post by Lee2015 »

I attempt to try Lattec run01 case. I have VARNAME = ../in/varinfo.dat in ocean_lattec.in file. And I have the varinfo.dat file in "in" folder.

Attached are my varinfo.dat and ocean_lattec.in files.
Attachments
varinfo.dat
(111.7 KiB) Downloaded 206 times
ocean_lattec.in
(57.42 KiB) Downloaded 205 times

User avatar
wilkin
Posts: 884
Joined: Mon Apr 28, 2003 5:44 pm
Location: Rutgers University
Contact:

Re: MOD_NCPARAM - Unable to open variable information file

#4 Unread post by wilkin »

You are using a very old test case. The svn $Id in your files shows this.

Code: Select all

!svn $Id: ocean_latte_c.in 272 2007-05-08 14:59:06Z zhang $

Code: Select all

!svn $Id: varinfo.dat 273 2007-05-08 15:03:59Z zhang $
These files are unlikely to work with a recent version of the code. I recommend you use a more up to date test case.
John Wilkin: DMCS Rutgers University
71 Dudley Rd, New Brunswick, NJ 08901-8521, USA. ph: 609-630-0559 jwilkin@rutgers.edu

Lee2015

Re: MOD_NCPARAM - Unable to open variable information file

#5 Unread post by Lee2015 »

Thanks wilkin! Can you provide a newer case? Or where can I get a newer one?

Post Reply