[CP2K:10047] compile cp2k with gcc/6.2.0 and openmpi/gcc/6.2.0/3.0.0

Fernan Saiz fsai... at gmail.com
Thu Mar 1 12:20:06 UTC 2018


Hi,
I did try to link it but I got the error:
/usr/bin/ld: attempted static link of dynamic object
`/apps/openmpi/gcc/6.2.0/3.0.0/lib/libmpi_usempif08.so'

I also tried to link the library
/usr/bin/ld: attempted static link of dynamic object
`/apps/openmpi/gcc/6.2.0/3.0.0/lib/libmpi_usempif08.la'
but I got the following error:
/apps/openmpi/gcc/6.2.0/3.0.0/lib/libmpi_usempif08.la: file not recognized:
File format not recognized

Thanks,


- Fernan

On Thu, Mar 1, 2018 at 12:10 PM, Jerry Tanoury <jerryt... at gmail.com>
wrote:

> It seems you have commented out your LIB path $(MPI_LIB)/libmpi_usempif08.so,
> so CP2K is not seeing the library path to libmpi_usempif08.so
>
> Best,
> Jerry
>
> On Thu, Mar 1, 2018 at 7:01 AM, Fernan Saiz <fsai... at gmail.com> wrote:
>
>> Hi all,
>> I am trying to compile cp2k with gcc/6.2.0 and openmpi/gcc/6.2.0/3.0.0.
>> However, my compilation stops with error /usr/bin/ld: cannot find
>> -lmpi_usempif08 as shown in the attached file log_compile.txt. I have load
>> the modules gcc/6.2.0 and openmpi/gcc/6.2.0/3.0.0 and the library
>> libmpi_usempif08.a shows in the path lib of the opempi compiler. I also
>> attach my arch.make file. Any help is much appreciated.
>>
>> Best regards,
>>  - Fernan Saiz, PhD
>> Department of Chemistry
>> Imperial College London
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "cp2k" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to cp2k+uns... at googlegroups.com.
>> To post to this group, send email to cp... at googlegroups.com.
>> Visit this group at https://groups.google.com/group/cp2k.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "cp2k" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/cp2k/D_C3POiONyk/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> cp2k+uns... at googlegroups.com.
> To post to this group, send email to cp... at googlegroups.com.
> Visit this group at https://groups.google.com/group/cp2k.
> For more options, visit https://groups.google.com/d/optout.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20180301/da94dc23/attachment.htm>


More information about the CP2K-user mailing list