<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi there,<br>
<br>
I was wondering if you could help me with the correct configuration
of PETSc-dev version on a cluster (<a class="moz-txt-link-freetext" href="https://www.cscs.ch/">https://www.cscs.ch/</a>)? I'm not
sure which information would be useful to you, but basically the
problem seems to be in correctly compiling it with intel compiler
and the existing mkl library.<br>
<br>
The pre-installed mkl version isĀ <br>
<br>
intel/17.0.4.196<br>
<br>
I have tried various things and finally, I got it at least to
compile with the following options (options chosen in reference to
the mkl link advisor...):<br>
<br>
./configure --with-fc=ftn --with-cc=cc --with-cxx=CC
--with-debugging=0 --with-scalar-type=complex --download-scalapack
--download-mumps=yes --download-superlu --with-batch
--known-mpi-shared-libraries=1 <b>--with-blaslapack-lib=</b>"
${MKLROOT}/lib/intel64/libmkl_blas95_lp64.a
${MKLROOT}/lib/intel64/libmkl_lapack95_lp64.a -Wl,--start-group
${MKLROOT}/lib/intel64/libmkl_intel_lp64.a
${MKLROOT}/lib/intel64/libmkl_sequential.a
${MKLROOT}/lib/intel64/libmkl_core.a -Wl,--end-group -lpthread -lm
-ldl" <b>--with-blaslapack-include</b>="[/opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/include,/opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/include/intel64/lp64]"
--known-64-bit-blas-indices=0<br>
<br>
After compilation, when trying to compile
/users/lanthale/petsc-git/src/snes/examples/tutorials/ex5f I get
linking errors (attached). Would anyone be able to help me out here?
I really don't have a good understanding of this.<br>
<br>
I'm attaching the configuration.log file, as well as the linking
errors when trying to compile ex5f.<br>
<br>
Thank you very much in advance!<br>
<br>
Best regards,<br>
Samuel<br>
</body>
</html>