NONMEM Users Network Archive

Hosted by Cognigen

RE: [NMusers] Gfortran problems in yosemite

From: <E.Olofsen_at_lumc.nl>
Date: Mon, 22 Feb 2016 21:12:45 +0000

Hi Adedeji,

This could happen if the "temp_dir" folder is present and still contains ou=
tput from a previous run with the previous compiler; the temporary folder m=
ay be emptied.

I hope this helps,

Erik
________________________________
From: owner-nmusers_at_globomaxnm.com [owner-nmusers_at_globomaxnm.com] on behalf=
 of Adedeji Majekodunmi [majeko_at_hotmail.com]
Sent: Monday, February 22, 2016 6:21 PM
To: nmusers_at_globomaxnm.com
Subject: [NMusers] Gfortran problems in yosemite

Hi All,

I would be most grateful for any assistance with the following issues with =
NONMEM.
I'm using a mac (2012) and I've just recently upgraded to yosemite. The pro=
blem is that NONMEM has stopped running on my laptop since upgrading. This =
is fairly typical after an upgrade in mac and is usually a problem with gfo=
rtran compatibility which should normally be resolved by uninstalling and r=
e-installing gfortran with the following command:

sudo rm -r/usr/local/gfortran/usr/local/bin/gfortran

I've tried re-installing the 5.2 version of gfortran which is compatible wi=
th yosemite (https://gcc.gnu.org/wiki/GFortranBinaries#MacOS<redir.aspx?REF=
=z77EQi0w4RGD-4PtBbj2gBK2zBQcjtuzSIWPqYkEpJxdXP4qzDvTCAFodHRwczovL2djYy5n=
bnUub3JnL3dpa2kvR0ZvcnRyYW5CaW5hcmllcyNNYWNPUw..>).

I then tried running NONMEM but I'm getting the following errors:




 WARNINGS AND ERRORS (IF ANY) FOR PROBLEM 1



 (WARNING 2) NM-TRAN INFERS THAT THE DATA ARE POPULATION.



 (WARNING 13) WITH USER-WRITTEN PRED OR $PRED, NM-TRAN CANNOT APPEND THE

 MDV DATA ITEM.

Note: The following floating-point exceptions are signalling: IEEE_INVALID_=
FLAG IEEE_DIVIDE_BY_ZERO

Recompiling certain components

MUMODEL.f90:67:10:


       USE FSIZES, ONLY: F_PC,F_PG,F_LVO,F_LVS

          1

Fatal Error: Cannot read module file ‘fsizes.mod’ opened at (1), becaus=
e it was created by a different version of GNU Fortran

compilation terminated.

PRPNM.f90:58:10:


       USE PNM_CONFIG, ONLY: PNM_UPAR,M_IDEFD,M_IDEFA,M_EL,M_TQ,M_DAC,M_DP=
C

          1

Fatal Error: Cannot read module file ‘pnm_config.mod’ opened at (1), be=
cause it was created by a different version of GNU Fortran

compilation terminated.

Building NONMEM Executable

gfortran: error: temp_dir/MUMODEL.o: No such file or directory

gfortran: error: temp_dir/PRPNM.o: No such file or directory

No nonmem execution.


It appears there are still problems with gfortran. Would anyone be kind eno=
ugh to assist?


My other question: Is there a way to prevent future upgrades on the mac int=
erfering with NONMEM?


Kind Regards,


Adedeji

PhD student, UCL.

Received on Mon Feb 22 2016 - 16:12:45 EST

The NONMEM Users Network is maintained by ICON plc. Requests to subscribe to the network should be sent to: nmusers-request_at_iconplc.com. Once subscribed, you may contribute to the discussion by emailing: nmusers@globomaxnm.com.