[CP2K-user] [CP2K:21777] Re: failure to compile CP2K/2025.2 with ACE potentials

Hanning Chen chenhanning at gmail.com
Mon Aug 25 17:19:22 UTC 2025


Dear Frederick,

  I think I used a wrong version of ML-PACE. After I changed to
lammps-user-pace-v.2023.11.25.fix2,
it worked!

Thanks.

Hanning

On Mon, Aug 25, 2025 at 4:29 AM Frederick Stein <f.stein at hzdr.de> wrote:

> Hi NUCP2K,
> How are you compiling CP2K? What version of ACE are you using? Our
> wrapper is tested with lammps-user-pace-v.2023.11.25.fix2. The missing
> symbols belong to files in CP2K to provide a C-interface to ACE as Fortran
> cannot handle the C++-templates used in ACE.
> Best,
> Frederick
>
> NUCP2K schrieb am Sonntag, 24. August 2025 um 02:55:07 UTC+2:
>
>> Hi, CP2K developers,
>>
>>    I was trying to compile the newly released CP2K/2025.2 with -D__ACE,
>> but got the error messages below:
>>
>>       in function `__ace_wrapper_MOD_ace_model_release':
>>
>> ace_wrapper.F90:(.text+0x4c0): undefined reference to `AcePotFinalize'
>>
>>
>> in function `__ace_wrapper_MOD_ace_model_compute':
>>
>> ace_wrapper.F90:(.text+0x7dc): undefined reference to `AcePotCompute'
>>
>>
>> in function `__ace_wrapper_MOD_ace_model_initialize':
>>
>> ace_wrapper.F90:(.text+0x584): undefined reference to `AcePotInitialize'
>>
>>
>>  I followed CP2K's instructions to install Lammps' ML-PACE interface, and
>> I do not think ML-PACE has any subroutines named AcePotInitialize,
>> AcePotCompute or AcePotFinalize.
>>
>>
>>   Any hints?
>>
>>
>>
>>   Thanks.
>>
>>
>> Hanning
>>
> --
> 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+unsubscribe at googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/cp2k/5e4690a3-1dff-443d-b818-f83e7f53aa26n%40googlegroups.com
> <https://groups.google.com/d/msgid/cp2k/5e4690a3-1dff-443d-b818-f83e7f53aa26n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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+unsubscribe at googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/cp2k/CAFuabwu%3DoZn3iybsHgRci8qivgjzmhMAXdh-MA_Kqp-6eYPrZw%40mail.gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20250825/81d6fba4/attachment.htm>


More information about the CP2K-user mailing list