Simultaneous Running of nmfe5
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