From: jerome_verlin@merck.com
Subject: [NMusers] Simultaneous Running of nmfe5
Date: 8/18/2003 6:01 PM

We have compiled the nmv program according to instructions on an IBM Power4
computer.

When we run nmfe5 on two simultaneous runs, the first stops when the second
starts.  Obviously, the same output files are being written in the same
place by two different runs.  How do we overcome this problem so that we can
submit as many simultaneous runs as our computers will allow?

'nmfe5' looks like

#
set dir=/.../merck.com/fs/user/xiaojia/nmv
set f=f77
set o=' -O '
#!/bin/csh
# This C shell script runs NM-TRAN and NONMEM V
# written by AJB 3/98 version 1.0
# The following lines are inserted by SETUP
#set dir=/home/nmv
#set f=f77
#set o=-O
set ndir=$dir/nm
set n="$ndir/NONMEM.o $ndir/BLKDAT.o $ndir/nonmem.a"
# for user library
set u=
rm -f FSUBS* FLIB FREPORT LINK.LNK nonmem >& /dev/null
if ($#argv != 2) then
echo Usage: nmfe5 infile outfile
exit
endif
if !(-e $1) then
echo File $1 does not exist.
exit
endif
set s=
$dir/tr/nmtran.exe < $1
if !(-e FREPORT) exit
$dir/util/nmlink5.exe
if (-e FSUBS) then
cp FSUBS FSUBS.f
set s=FSUBS.f
endif
$f -o nonmem $o $s `cat LINK.LNK` $n $u
if !(-e nonmem) then
echo No nonmem execution.
exit
endif
echo Starting nonmem execution ...
./nonmem < FCON > $2



__________________________________________
Jerry Verlin				215-652-7109 V
Molsys - Systems			215-652-4625 F
					WP53F-301
_______________________________________________________

From: n.holford@auckland.ac.nz
Subject: Re: [NMusers] Simultaneous Running of nmfe5
Date: 8/18/2003 6:44 PM

You could modify the nmfe5 script so that it automatically creates a separate
sub-directory for each run. Or start your runs in different sub-directories.

--
Nick Holford, Dept Pharmacology & Clinical Pharmacology
University of Auckland, 85 Park Rd, Private Bag 92019, Auckland, New Zealand
email:n.holford@auckland.ac.nz tel:+64(9)373-7599x86730 fax:373-7556
http://www.health.auckland.ac.nz/pharmacology/staff/nholford/
_______________________________________________________