Menu

#38 Compile with Intel fortran and MKL

1.0
open
nobody
None
2019-09-25
2019-09-24
lello
No

Hi,

I have just downloaded the code and I was trying to compil the fortran library usinf the Intel compiler. Is this possible or is the code bound to gfortran? Do you have any example on how to properly set the compiler parameters?

Thanks
Raffaele

Discussion

  • Matthew Jones

    Matthew Jones - 2019-09-24
    python BuildOSMPS.py --prefix=$CONDA_PREFIX/bin \
                         --option=FC:x86_64-conda_cos6-linux-gnu-gfortran \
                         --option=INCFLAGS:-I$CONDA_PREFIX/include \
                         --option=LIBFLAGS:-L$CONDA_PREFIX/lib
    

    The Source Install Wiki is a good place to start.

    The above command will let you set the install prefix, compiler, and compiler flags. FC is the FORTRAN compiler path.

    MJ

     
  • lello

    lello - 2019-09-25

    Hi,

    thanks for the reply, I managed to compile the code with intel fortran.

    R

     

Log in to post a comment.