[Wien] relinking the code, keeping compiled object files

Peter Blaha peter.blaha at tuwien.ac.at
Mon May 29 20:27:32 CEST 2023


Why are you not just using the "defaults" for ifc systems ?
The ifort part should work out of the box.

You have to define only your fftw installation and the mpi related 
settings.

You don't need to specify the full path of a library when you have 
MKLROOT defined.



Am 29.05.2023 um 20:11 schrieb Ilias Miroslav, doc. RNDr., PhD.:
> Well, this happens on several machines,
> 
> The MKL libraries are properly set:
> 
> $MKLROOT/lib/intel64/libmkl_blas95_lp64.a 
> $MKLROOT/lib/intel64/libmkl_lapack95_lp64.a -L$MKLROOT/lib/intel64 
> -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core 
> -lmkl_blacs_intelmpi_lp64 -liomp5 -lpthread -lm -ldl
> 
> This string makes 229 characters.
> 
> In the configurational part, there must be some strange string cut , 
> maybe size of strings is restricted :
> 
> SRC_structeditor/SRC_ncmsymmetry/compile.msg:ifort: error #10236: File not
> found:  'KLROOT/lib/intel64/libmkl_lapack95_lp64.a'
> SRC_structeditor/SRC_ncmsymmetry/compile.msg:make: *** [ncmsymmetry] Error 1
> 
> 
> 
> Recommended options for system linuxifs are:
>        OpenMP switch:           -qopenmp
>        Compiler options:        -O -FR -mp1 -w -prec_div -pc80 -pad -ip 
> -DINTEL_VML -traceback -assume buffered_io -I$(MKLROOT)/include
>        Linker Flags:            $(FOPT) 
> -L$(MKLROOT)/lib/$(MKL_TARGET_ARCH) -lpthread -lm -ldl -liomp5
>        Preprocessor flags:      '-DParallel'
>        R_LIB (LAPACK+BLAS):     -lmkl_intel_lp64 -lmkl_intel_thread 
> -lmkl_core
> 
>   Current settings:
>    M   OpenMP switch:           -qopenmp
>    O   Compiler options:        -O -FR -mp1 -w -prec_div -pc80 -pad -ip 
> -DINTEL_VML -traceback -assume buffered_io -I$(MKLROOT)/include
>    L   Linker Flags:            $(FOPT) 
> -L$(MKLROOT)/lib/$(MKL_TARGET_ARCH) -lpthread -lm -ldl -liomp5
>    P   Preprocessor flags       '-DParallel'
>    R   R_LIBS (LAPACK+BLAS): *$MKLROOT/lib/intel64/libmkl_blas95_lp64.a 
> $MKLROOT/lib/intel64/libmkl_lapack95_lp64.a -L$MKLROOT/lib/intel64 
> -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core 
> -lmkl_blacs_intelmpi_lp64 -liomp5 -lpthread -lm -ldl*
> 
> 
> -- 
> 
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> SEARCH the MAILING-LIST at:  http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html

-- 
--------------------------------------------------------------------------
Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna, A-1060 Vienna
Phone: +43-1-58801-165300
Email: peter.blaha at tuwien.ac.at    WIEN2k: http://www.wien2k.at
WWW:   http://www.imc.tuwien.ac.at
-------------------------------------------------------------------------


More information about the Wien mailing list