<div dir="ltr">Hi,<br><br>I am compiling CP2K and pretty far into the compilation,  I get the error below: (the full error and my arch file are attached)<br><br>/p/work1/elambros/cp2k/lib/Linux-x86-64-intel-minimal/psmp/exts/dbcsr/libdbcsr.a(dbcsr_machine_internal.o): In function `dbcsr_machine_internal_mp_m_getlog_':<br>/p/work1/elambros/cp2k/exts/dbcsr/src/base/dbcsr_machine_posix.f90:318: undefined reference to `for_getenv_err'<br>/p/work1/elambros/cp2k/exts/dbcsr/src/base/dbcsr_machine_posix.f90:321: undefined reference to `for_getenv_err'<br>/p/work1/elambros/cp2k/lib/Linux-x86-64-intel-minimal/psmp/exts/dbcsr/libdbcsr.a(dbcsr_machine_internal.o): In function `dbcsr_machine_internal_mp_m_getarg_':<br>/p/work1/elambros/cp2k/exts/dbcsr/src/base/dbcsr_machine_posix.f90:363: undefined reference to `for_getcmd_arg_err'<br>make[3]: *** [/p/work1/elambros/cp2k/exe/Linux-x86-64-intel-minimal/cp2k.psmp] Error 1<br>make[2]: *** [all] Error 2<br>make[1]: *** [psmp] Error 2<br>make: *** [all] Error 2<br><br><div>I think this may be related to the "get_environment_variable" and "GET_COMMAND_ARGUMENT" calls in exts/dbcsr/src/base/dbcsr_machine_posix.f90, but I haven't been able to find anything about the "for_getenv_err" and "for_getcmd_arg_err" variables online. I'm not sure if I'm missing a library, or if I've made a silly mistake, but any advice would be appreciated.</div><div><br></div><div>My fortran compiler is mpiifort, and my c and c++ compilers are mpiicc and mpiicpc.<br></div><br>Thanks,<br>Teri</div>