Skip to content

Commit

Permalink
add INTEGER variable to support 32/64bit compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
nimgould committed Jan 8, 2024
1 parent 1fa4589 commit fe046f0
Show file tree
Hide file tree
Showing 37 changed files with 42 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.compiler
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
files named compiler.mach.os.comp indicate the
Fortran compilation and load flags for use on the
Fortran compilation and load flags for use on the
machine "mach" that uses the UNIX operating
system "os" and for the compiler "comp".

Each line contains the name of an atribute that
can be set, and equals sign (=) and the value
that is to be ascribed to the atribute. If the
latter contains spaces/blanks, it should be
that is to be ascribed to the atribute. If the
latter contains spaces/blanks, it should be
surrounded by ''. If no value is to be
ascribed, there is no need for a string beyond =.

Look at any of the compiler.*.*.* files for
Look at any of the compiler.*.*.* files for
suggestions and examples.

Current atribute are (with defaults/options):
Expand All @@ -20,7 +20,7 @@ BASIC compiler basic compile options (-c)
LIBCMD compiler link library options
MODCMD compiler module create options (-module $MOD -I$MOD)
MODCMDB compiler module access options (-I$MOD)
MVMODS ':' command needed to move module info files to module diectory
MVMODS ':' command needed to move module info files to module diectory
OPTIMIZATION compiler optimization level (-O)
NOOPTIMIZATION compiler no optimization level (-O0)
DEBUG compiler debug flag (-g)
Expand Down Expand Up @@ -56,4 +56,5 @@ MKL_PARDISO options to link MKL Pardiso codes (-lgalahad_mkl_pardiso)
WSMP options to link WSMP codes (-lgalahad_wsmp)
NOT95 is the compiler at least fortran 95? (IS95/NOT95)
NOT64 is the operating system 64-bit? (IS64/NOT64)
INTEGER compile with this integer type (32bit/64bit)
BINSHELL the default UNIX shell used (usually sh)
1 change: 1 addition & 0 deletions compiler.all.all.gfo
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.all.all.ifr
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.all.all.ifx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.binarybuilder.bb.fc
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=bash
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.cry.unc.f90
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=NOT64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.mac64.osx.gfo
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.mac64.osx.ifr
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.mac64.osx.n95
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-Wl,-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.lnx.fla
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=NOT64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.lnx.gfo
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=NOT64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.lnx.ifr
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=NOT64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.lnx.ifx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=NOT64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.lnx.l95
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=NOT64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.lnx.n95
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=NOT64
INTEGER=32bit
BINSHELL=sh
SHARED='-Wl,-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.lnx.nvc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.lnx.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=NOT64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.mgw.dgf
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=NOT64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.mgw.ifr
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=NOT64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc.mgw.n95
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=NOT64
INTEGER=32bit
BINSHELL=sh
SHARED='-Wl,-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.fla
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.g10
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.g11
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.g12
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.gfo
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.ifr
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.ifx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.l95
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.n95
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-Wl,-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.nvc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.nvf
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.lnx.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.pc64.msys2.gfo
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=NOT64
INTEGER=32bit
BINSHELL=sh
MA97BUG=gfo
SHARED='-shared'
Expand Down
1 change: 1 addition & 0 deletions compiler.ppc.aix.n95
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=NOT64
INTEGER=32bit
BINSHELL=sh
SHARED='-Wl,-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.ppc.aix.x95
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=NOT64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.sun.lnx.gfo
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=IS64
INTEGER=32bit
BINSHELL=sh
SHARED='-shared'
PASTIX='-lgalahad_pastix'
Expand Down
1 change: 1 addition & 0 deletions compiler.sun.sol.n95
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ MKL_PARDISO='-lgalahad_mkl_pardiso'
WSMP='-lgalahad_wsmp'
NOT95=IS95
NOT64=NOT64
INTEGER=32bit
BINSHELL=sh
SHARED='-Wl,-shared'
PASTIX='-lgalahad_pastix'
Expand Down

0 comments on commit fe046f0

Please sign in to comment.