From: Juan Carlos Perin bic@genome.chop.edu
Subject: [NMusers] Nonmem install problem
Date: Mon, 31 Oct 2005 14:45:07 -0500

Hello all,
I'm attempting to install Nonmem on our Apple cluster.  We have 16 Xserve
G5's running OS X 10.4 (tiger).  I've installed nonmem without install
errors, with disk1.tar and disk3.tar. But the test fails for CONTROL5.  I
tried the same on a linux machine and get the same error.  I'm in the
C-shell, and have had succesful installs on similar systems in the past.
I'm not quite sure where to go with these errors, but if anyone has any
suggestions, they'd be much appreciated.

The errors look as follows :

[perin@mybic run]$ ./nmfe5 CONTROL5 rep5

AN ERROR WAS FOUND IN THE CONTROL STATEMENTS.

 36  ERROR HAS OCCURRED WHILE CREATING REQUIRED FILE
FCON              STOP 4 statement executed

After SUDO'ing,

[perin@mybic run]$ sudo ./nmfe5 CONTROL5 rep5
./nmfe5: line 27: syntax error near unexpected token `exit'
./nmfe5: line 27: `if !(-e FREPORT) exit'

Juan Perin
Children's Hospital of Philadelphia
_______________________________________________________

From: Darin Perusich Darin.Perusich@cognigencorp.com
Subject: Re: [NMusers] Nonmem install problem 
Date: Mon, 31 Oct 2005 15:17:30 -0500


> The errors look as follows :
>
> [perin@mybic run]$ ./nmfe5 CONTROL5 rep5
>  
>  AN ERROR WAS FOUND IN THE CONTROL STATEMENTS.
>  
>   36  ERROR HAS OCCURRED WHILE CREATING REQUIRED FILE
>  FCON              STOP 4 statement executed


what do the permissions on the run directory look like? does CONTROL3 run?

> After SUDO'ing,
>
> [perin@mybic run]$ sudo ./nmfe5 CONTROL5 rep5
> ./nmfe5: line 27: syntax error near unexpected token `exit'
> ./nmfe5: line 27: `if !(-e FREPORT) exit'


try doing "sudo csh nmfe5 CONTROL5 rep5" instead of "sudo ./nmfe5 CONTROL5 rep5". the
nmfe5 script doesn't have "#!/bin/csh" at the beginning of the file so it's being
executed as a bourne script.
-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corp.
darinper@cognigencorp.com 
_______________________________________________________