<div dir="auto">Glenn<div dir="auto"><br></div><div dir="auto">That's not the case.<div dir="auto">The compilers are charged, even into ~/.bashed.rc</div><div dir="auto"><br></div><div dir="auto">As I said, compiling others codes with intel works perfectly.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em dom, 29 de nov de 2020 01:06, Glenn Wolosh <<a href="mailto:gwo...@njit.edu">gwo...@njit.edu</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Oops, that should be <div><br></div><div>source /opt/intel/compilers_and_libraries_2020.4.304/linux/bin/compilervars.sh intel64<br></div><div><br></div><div>--Glenn</div><div><br><br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Saturday, November 28, 2020 at 11:04:51 PM UTC-5 Glenn Wolosh wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">You need to source the intel compilers prior to compiling:<div><br></div><div>source /opt/intel/compilers_and_libraries_2020.4.304/linux/compilervars.sh intel64</div><div><br></div><div>--Glenn</div><div><br></div><div class="gmail_quote"><div dir="auto" class="gmail_attr">On Saturday, November 28, 2020 at 9:18:06 PM UTC-5 <a rel="nofollow noreferrer">gue...@gmail.com</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><b>Hi everyone, I'm trying a compilation with intel compilers with the following archtecture:</b><div><br></div><div>------------------------------</div><div><div><font size="2">CC = mpiicc</font></div><div><font size="2">FC = mpiifort</font></div><div><font size="2">LD = mpiifort</font></div><div><font size="2">AR = ar -r</font></div><div><font size="2"><br></font></div><div><font size="2">CFLAGS = -O3 -xAVX -g -traceback -xHost</font></div><div><font size="2"><br></font></div><div><font size="2">DFLAGS = -D__FFTW3 -D__MKL -D__MPI_VERSION=3</font></div><div><font size="2">DFLAGS += -D__parallel -D__SCALAPACK</font></div><div><font size="2"><br></font></div><div><font size="2">FCFLAGS = $(CFLAGS) $(DFLAGS)</font></div><div><font size="2">FCFLAGS += -fpp -fp-model precise -free -funroll-loops</font></div><div><font size="2">FCFLAGS += -I${MKLROOT}/include -I${MKLROOT}/include/fftw</font></div><div><font size="2"><br></font></div><div><font size="2">LDFLAGS = $(FCFLAGS) -static-intel -static_mpi</font></div><div><font size="2">LDFLAGS_C = -nofor_main</font></div><div><font size="2"><br></font></div><div><font size="2">MKL_LIB = ${MKLROOT}/lib/intel64</font></div><div><font size="2"><br></font></div><div><font size="2">LIBS = $(MKL_LIB)/libmkl_scalapack_lp64.a</font></div><div><font size="2">LIBS += -Wl,--start-group</font></div><div><font size="2">LIBS += $(MKL_LIB)/libmkl_intel_lp64.a</font></div><div><font size="2">LIBS += ${MKL_LIB}/libmkl_sequential.a</font></div><div><font size="2">LIBS += $(MKL_LIB)/libmkl_core.a</font></div><div><font size="2">LIBS += ${MKL_LIB}/libmkl_blacs_intelmpi_lp64.a</font></div><div><font size="2">LIBS += -Wl,--end-group</font></div><div><font size="2"><br></font></div><div><font size="2"># Required due to memory leak that occurs if high optimisations are used</font></div><div><font size="2">mp2_optimize_ri_basis.o: mp2_optimize_ri_basis.F</font></div><div><font size="2"> $(FC) -c $(subst O2,O0,$(FCFLAGS)) $<</font></div></div><div>----------------------</div><div><br></div><div><b>After following command </b></div><div><br></div><div>make -j 6 ARCH=Linux-x86-64-intel-minimal_changed VERSION=popt<br></div><div><br></div><div><b>I got the following error message:</b></div><div><font size="2"><br></font></div><div><div><font size="2">/bin/sh: 1: mpiifort: not found</font></div><div><font size="2">/home/dgs/Downloads/cp2k-7.1/cp2k-7.1_parallel/cp2k-7.1/exts/dbcsr/Makefile:428: recipe for target 'dbcsr_kinds.o' failed</font></div><div><font size="2">make[4]: *** [dbcsr_kinds.o] Error 127</font></div><div><font size="2">Makefile:129: recipe for target 'libdbcsr' failed</font></div><div><font size="2">make[3]: *** [libdbcsr] Error 2</font></div><div><font size="2">/home/dgs/Downloads/cp2k-7.1/cp2k-7.1_parallel/cp2k-7.1/exts/Makefile.inc:16: recipe for target 'dbcsr' failed</font></div><div><font size="2">make[2]: *** [dbcsr] Error 2</font></div><div><font size="2">make[2]: ** Esperando que outros processos terminem.</font></div><div><font size="2">/home/dgs/Downloads/cp2k-7.1/cp2k-7.1_parallel/cp2k-7.1/Makefile:123: recipe for target 'popt' failed</font></div><div><font size="2">make[1]: *** [popt] Error 2</font></div><div><font size="2">Makefile:118: recipe for target 'all' failed</font></div><div><font size="2">make: *** [all] Error 2</font></div></div><div><br></div><div><b>mpiifort is installed, such as others codes can be compiled with the intel set.</b></div><div><b>By setting explicity the path for mpiifort and mpiicc, e. g.</b></div><div><b><br></b></div><div><div><div>CC = /opt/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/bin/mpiicc</div><div>FC = /opt/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/bin/mpiifort</div><div>LD = /opt/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/bin/mpiifort</div><div><br></div><div><b>the compilation error change to </b></div><div><br></div><div><div><font size="2">/opt/intel/compilers_and_libraries_2020.4.304/linux/mpi/intel64/bin/mpiifort: 1: eval: ifort: not found</font></div><div><font size="2">/home/dgs/Downloads/cp2k-7.1/cp2k-7.1_parallel/cp2k-7.1/exts/dbcsr/Makefile:428: recipe for target 'dbcsr_kinds.o' failed</font></div><div><font size="2">make[4]: *** [dbcsr_kinds.o] Error 127</font></div><div><font size="2">Makefile:129: recipe for target 'libdbcsr' failed</font></div><div><font size="2">make[3]: *** [libdbcsr] Error 2</font></div><div><font size="2">/home/dgs/Downloads/cp2k-7.1/cp2k-7.1_parallel/cp2k-7.1/exts/Makefile.inc:16: recipe for target 'dbcsr' failed</font></div><div><font size="2">make[2]: *** [dbcsr] Error 2</font></div><div><font size="2">make[2]: ** Esperando que outros processos terminem.</font></div><div><font size="2">/home/dgs/Downloads/cp2k-7.1/cp2k-7.1_parallel/cp2k-7.1/Makefile:123: recipe for target 'popt' failed</font></div><div><font size="2">make[1]: *** [popt] Error 2</font></div><div><font size="2">Makefile:118: recipe for target 'all' failed</font></div><div><font size="2">make: *** [all] Error 2</font></div></div><div><br></div></div></div><div><b>Anyone would know how to solve this?</b></div><div><b>Thanks in advance.</b></div><div><br></div></blockquote></div></blockquote></div>
<p></p>
-- <br>
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.<br>
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/cp2k/dqPgUnh54Ss/unsubscribe" target="_blank" rel="noreferrer">https://groups.google.com/d/topic/cp2k/dqPgUnh54Ss/unsubscribe</a>.<br>
To unsubscribe from this group and all its topics, send an email to <a href="mailto:cp...@googlegroups.com" target="_blank" rel="noreferrer">cp...@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/9c431830-898d-4d7f-89f4-44e8aa79d775n%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="noreferrer">https://groups.google.com/d/msgid/cp2k/9c431830-898d-4d7f-89f4-44e8aa79d775n%40googlegroups.com</a>.<br>
</blockquote></div>