Differences between revisions 1 and 6 (spanning 5 versions)
Revision 1 as of 2015-01-13 09:49:01
Size: 2079
Editor: NicoleThomas
Comment:
Revision 6 as of 2015-05-21 09:58:25
Size: 2291
Editor: NicoleThomas
Comment:
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
mv libqhull.a libqhull_gcc4.4.7.a mv libqhull.a libqhull_gcc4.9.2.a
Line 13: Line 13:
ln -sf ../qhull/libqhull_gcc4.4.7.a ./libqhull.a ln -sf ../qhull/libqhull_gcc4.9.2.a ./libqhull.a
Line 24: Line 24:
mkdir lib_ifort15.0.0
mkdir mod_ifort15.0.0
mkdir obj_ifort15.0.0
mkdir lib_ifort15.0.2
mkdir mod_ifort15.0.2
mkdir obj_ifort15.0.2
Line 29: Line 29:
in Makefile.numrec:
 {{{
 in Makefile.numrec:
  {{{
Line 32: Line 32:
   objDir = obj_ifort15.0.0
   modDir = mod_ifort15.0.0
   libDir = lib_ifort15.0.0
   objDir = obj_ifort15.0.2
   modDir = mod_ifort15.0.2
   libDir = lib_ifort15.0.2
Line 41: Line 41:
catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
compilation aborted for src/sprsin.f90 (code 1)
=> in Makefile.numrec: sprsin removed from progfilelist !!!
 The following error occurs: <<BR>>
 ''
catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error. compilation aborted for src/sprsin.f90 (code 1)''

  
=> in Makefile.numrec: sprsin removed from progfilelist !!!
Line 47: Line 48:
ln -sf ../numrec-f90/lib_ifort15.0.0/libnumrec.a . ln -sf ../numrec-f90/lib_ifort15.0.2/libnumrec.a .
Line 50: Line 51:
chmod -R 755 numrec chmod -R 755 numrec-f90
Line 57: Line 58:
 * If the netcdf module is loaded, "ncdump" and "ncgen" can be used and compilation of programs using netcdf is possible (without specifying any library or include path).  * Load netcdf module:
 {{{
module load intel-para netCDF-Fortran/4.2
}}}

* If the netcdf module is loaded, "ncdump" and "ncgen" can be used and compilation of programs using netcdf is possible (without specifying any library or include paths).
Line 64: Line 70:
 * Environment variables  * After loading the netcdf module the following environment variables are expanded:
Line 72: Line 78:
geändert:
Makefile
mkincl/platform.mk
mkincl/config/config.Linux_ifc
=> eingecheckt am 13.01.2015
 Following files were adapted:
  * utils/Makefile
  * mkincl/platform.mk
  * mkincl/config/config.Linux_ifc
Line 78: Line 83:
 {{{
Line 88: Line 94:
}}}

Install Libraries on JUROPATEST

The libraries used by CLaMS are installed in directory /homec/jicg11/jicg1108

qhull

  • cd ~/qhull
    make new  (Compilation mit gcc, s. Makefile)
    mv libqhull.a libqhull_gcc4.9.2.a
    
    cd ~/clams_lib
    ln -sf ../qhull/libqhull_gcc4.9.2.a ./libqhull.a
    
    cd ~
    chmod -R 755 qhull

numrec

  • cd ~/numrec-f90
    
    mkdir lib_ifort15.0.2
    mkdir mod_ifort15.0.2
    mkdir obj_ifort15.0.2
    in Makefile.numrec:
    •    F90 = ifort
         objDir = obj_ifort15.0.2
         modDir = mod_ifort15.0.2
         libDir = lib_ifort15.0.2
    make -f Makefile.numrec  new

    The following error occurs:
    catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error. compilation aborted for src/sprsin.f90 (code 1)

    • => in Makefile.numrec: sprsin removed from progfilelist !!!

    cd ~/clams_lib
    ln -sf ../numrec-f90/lib_ifort15.0.2/libnumrec.a .
    
    cd ~
    chmod -R 755 numrec-f90

netcdf

  • Netcdf is installed on Juropatest for different C and Fortran compiler versions.
  • Load netcdf module:
    module load intel-para netCDF-Fortran/4.2
  • If the netcdf module is loaded, "ncdump" and "ncgen" can be used and compilation of programs using netcdf is possible (without specifying any library or include paths).
  • Compile Fortran program with NetCDF:
    ifort -o progname progname.f90 -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lz
  • After loading the netcdf module the following environment variables are expanded:
    • PATH includes directory with netcdf binaries (ncdump)

    • CPATH includes directory with include-files and netcdf-modules

    • LD_LIBRARY_PATH includes directories with all needed libraries (netcdf, hdf5, zlib etc)

utils

  • Following files were adapted:
    • utils/Makefile
    • mkincl/platform.mk
    • mkincl/config/config.Linux_ifc
    make theLibrary
    
    cd ~/clams_lib
    ln -sf ../utils/lib_linux_ifc_15.0.0/libutils-icg1.a .
    
    cd ~/clams_mod
    ln -sf ../utils/mod_linux_ifc_15.0.0/* .
    
    cd ~
    chmod -R 755 utils

Jureca/LibrariesIfort17 (last edited 2018-11-09 12:09:42 by NicoleThomas)