<div dir="ltr"><div>I forgot to attach my arch file:</div><div><br></div><div>-------------------------------------------------------------------------------------------------------------------------------------</div><div><div>CC       = mpiicc</div><div>CPP      =</div><div>FC       = mpiifort </div><div>LD       = mpiifort</div><div>AR       = ar -r</div><div><br></div><div>MKLROOT  = /compilers/intel/pe-xe-2018/binary/mkl</div><div>MKL_INC  = /compilers/intel/pe-xe-2018/binary/mkl/include</div><div>LIBXC_LIB = /libraries/libxc/4.3.2/intel--pe-xe-2018--binary/lib</div><div>LIBXC_INC = /libraries/libxc/4.3.2/intel--pe-xe-2018--binary/include</div><div>include = /CODES/INTEL18/PLUMED/plumed246/lib/plumed/src/lib/Plumed.inc.static</div><div>EXTERNAL_OBJECTS=$(PLUMED_STATIC_DEPENDENCIES)</div><div><br></div><div>CPPFLAGS = -C $(DFLAGS) -P -traditional -I${MKL_INC} -I${MKL_INC}/fftw -I$(LIBXC_INC) -I$(PLUMED_INC) </div><div>DFLAGS   = -D__INTEL -D__FFTSG -D__parallel -D__BLACS -D__SCALAPACK -D__FFTMKL -D__FFTW3_UNALIGNED -D__LIBXC -D__PLUMED2 </div><div>FCFLAGS  = $(DFLAGS)  -I${MKL_INC} -I${MKL_INC}/fftw -O2 -fpp -free -heap-arrays 64 -I$(LIBXC_INC) -I$(PLUMED_INC)</div><div>LDFLAGS_C  = $(FCFLAGS)  -L/$(MKLROOT)/lib/intel64 -nofor_main -L$(LIBXC_LIB)</div><div>LDFLAGS  = $(FCFLAGS)</div><div><br></div><div>LIBS    = $(PLUMED_STATIC_DEPENDENCIES) -lz -ldl -lstdc++ -L$(MKLROOT)/lib/intel64 -mkl -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -lmkl_intel_lp64 \</div><div>          -lmkl_intel_thread -lmkl_core -lm -lpthread -liomp5 -L$(LIBXC_LIB) -lxcf03 -lxc -lstdc++</div><div><br></div><div>OBJECTS_ARCHITECTURE = machine_intel.o</div></div><div>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</div><div><br></div><div>Hope that someone can help!</div><div><br></div><div>Bests</div><div>Luca </div><div><br></div><div><br></div><div><br></div><div><br></div><br><br>On Wednesday, October 16, 2019 at 1:37:31 PM UTC+2, Luca wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Dear Developers<div><br></div><div>I am trying to link CP2K (trunk) with Plumed 2.5.3.</div><div>I modified my working arch file as recommended on the webpage <a href="https://www.cp2k.org/howto:install_with_plumed" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.cp2k.org%2Fhowto%3Ainstall_with_plumed\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGBe4eKPIhicioP7PnUFAU8bnJvfA';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fwww.cp2k.org%2Fhowto%3Ainstall_with_plumed\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGBe4eKPIhicioP7PnUFAU8bnJvfA';return true;">https://www.cp2k.org/<wbr>howto:install_with_plumed</a>.</div><div>Unfortunately the compilation crash with the error:</div><div><br></div><div> </div><div><div>....popt/libcp2kmain.a(<wbr>metadynamics.o): In function `metadynamics_mp_metadyn_<wbr>finalise_plumed_':</div><div>metadynamics.F90:(.text+0x27): undefined reference to `plumed_f_gfinalize_'</div></div><div><br></div><div>I am using the Intel18 compilers and libraries (mkl and MPI)  for both CP2K and Plumed</div><div>Could you please help me with this issue?</div><div><br></div><div>Best Regards.</div><div>Luca </div></div></blockquote></div>