10 thoughts on “Compiling Mortran3 …

  1. GNU Fortran (GCC for Simply Fortran) 6.3.0

    Using xml test file C:\EGS\EGSnrc\HEN_HOUSE\pieces\tests_win.xml

    ===> Checking for availability of system dependent functions

    Can the compiler produce object files? ……………….. yes

    Can the compiler produce executables? ………………… yes

    Does “exit” or “exit_” work properly? ………………… yes [exit]

    Compiling “egs_exit.c” since “exit” and “stop” failed ?… yes

    Does the “system” function return an exit status ? …….. no

    Does the “system” subroutine return an exit status ? …… no

    Is “flush” or “flush_” available? ……………………. yes [flush]

    Is the “date_and_time” subroutine available ? …………. yes

    Is “fdate” or “fdate_” subroutine available? ………….. yes [fdate]

    Is “secnds” or “secnds_” function available? ………….. yes [secnds]

    Is “date” or “date_” subroutine available? ……………. no

    Is “time” or “time_” subroutine available? ……………. no

    Is “etime” or “etime_” function available? ……………. yes [etime]

    Is function “lnblnk” available? ……………………… yes

    Does “hostnm” or “hostnm_” work properly? …………….. yes [hostnm]

    Is “lstat” available and does it work properly? ……….. no

    Does “inquire” work properly? ……………………….. yes

    Compiling a C program to find out the file size ?……… yes

    Is record length known? …………………………….. yes [4]

    Is “integer*8” available? …………………………… yes [integer*8]

    Is “integer*2” available? …………………………… yes [integer*2]

    Can endianess of machine be determined?……………….. yes [little endian]

    Compiling a C program to find out the name mangling scheme ? yes

    Is the name mangling scheme known ?…………………… yes [lower case, _ and _]

    ********** Tests concluded ! *****

    ===> Creating C Utilities for EGSnrc…

    Building the utilities object file …

    Could egs_c_utils.c be compiled? …………………….. yes

    Could load_beamlib.c be compiled? ……………………. yes

    Could load_vculib.c be compiled? …………………….. yes

    Could read_write_pardose.c be compiled? ………………. yes

    Testing the C utilities object file …

    Could egs_c_utils be linked to a Fortran file ? ……….. yes

    Yes, egs_c_utils can be successfully linked to a Fortran file.

    Assuming there is no need to pass a flag

    to the compiler for opening a DSO on Windows

    using Win API function LoadLibrary().

    ===> Creating configuration file …

    ===> Creating machine.macros …

    * System file C:\EGS\EGSnrc\HEN_HOUSE\lib\win6432\machine.macros successfully created *

    ===> Creating machine.f …

    ===> Creating machine.mortran …

    * System file C:\EGS\EGSnrc\HEN_HOUSE\lib\win6432\machine.mortran successfully created *

    ===> Creating dosxyznrc_win6432.spec …

    done

    ===> Appending VCU library to dosxyznrc_win6432.spec …

    done

    ===> Compiling Mortran3 …

    Error executing makeEGS_CONFIG=C:\EGS\EGSnrc\HEN_HOUSE\specs\win6432.conf

    Like

Leave a comment