Re: Compilation with PMGRID?

From: Volker Springel <volker_at_MPA-Garching.MPG.DE>
Date: Thu, 19 May 2005 13:40:25 +0200

Fabrice DURIER wrote:

> Hi,
>
> I'm trying to compile Gadget2 with the TreePM method, but when i make
> the executable Gadget2 (including: OPT += -DPMGRID=128) this error
> message appears:
>
> ********************
> -o Gadget2 ld:
> Error: Undefined:
> sincos
> make: *** [Gadget2] Error 1
> *********************
>
> I tried to recompile the fftw library with no success...
> Does anyone know what is this undefined 'sincos' function, and how to
> solve this error?
>
Fabrice,

for issues like this, you should at least state the system and the
compiler you used - your question lacks this information...

In any case, I'm guessing that you might be using (involuntarily) the
Math Kernel Libary from Intel via FFTW. Then adding '-lmkl' might help.

V.



> Thanks for any help!
>
>------------------------------------------------------------------------
>
>
>-----------------------------------------------------------
>
>If you wish to unsubscribe from this mailing, send mail to
>minimalist_at_MPA-Garching.MPG.de with a subject of: unsubscribe gadget-list
>A web-archive of this mailing list is available here:
>http://www.mpa-garching.mpg.de/gadget/gadget-list
>
>
Received on 2005-05-19 13:40:26

This archive was generated by hypermail 2.3.0 : 2023-01-10 10:01:30 CET