3 Replies Latest reply on Feb 14, 2013 4:52 PM by mubeen

    lib-2 ?? Fortran output error.

    mubeen

      Hi all,

      I have AMD hardware (FX-6300), with Ubuntu 12.04 +AMD's Open64 compiler suite (openf90 for Fortran subroutines compilation).

      I link my subroutines with a main program (Abaqus), and this program uses my subroutines for calculations. I am using WRITE statements to output some important data (integers KINC, NOEL, NPT) to external text files.

      ----------------------------------------------------------------------------------------------------------------------------

      OPEN(UNIT=309,FILE="FULL_PATH_TO_FILE/output.txt", position="append")

      WRITE(309,*) KINC,NOEL,NPT

      ----------------------------------------------------------------------------------------------------------------------------

      However, during execution the program terminates with error:

      ----------------------------------------

      UNRECOVERABLE error on system request

      lib-2: No such file or directory

      Encountered during an OPEN of unit 309

      Fortran unit 309 is not connected

      ----------------------------------------

      The file already exists at this path, and is not in use by anyother program.

      Earlier, I was using ifort (on windows), which was working fine, and all data was written perfectly fine. But I am not sure if this error is due to the main program or compiler.

      The problem is not specific with UNIT number, i have changed the unit number but the problem is persistent