[Wien] relinking the code, keeping compiled object files

Laurence Marks laurence.marks at gmail.com
Mon May 29 20:18:00 CEST 2023


They are not properly set. It should be $(MKLROOT) so that all of MKLROOT
is used. With your settings it is using $M only.

Brackets matter {and can be a pain to get right}. Different shells and make
have their own conventions, that are not always the same.

--
Professor Laurence Marks (Laurie)
Department of Materials Science and Engineering, Northwestern University
www.numis.northwestern.edu
"Research is to see what everybody else has seen, and to think what nobody
else has thought" Albert Szent-Györgyi

On Mon, May 29, 2023, 13:11 Ilias Miroslav, doc. RNDr., PhD. <
miroslav.ilias at umb.sk> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20230529/b90f88cc/attachment.htm>


More information about the Wien mailing list