[Nek5000-users] How to use an external lib with nek5000

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Wed Mar 28 08:25:08 CDT 2012


Hi Can,

Another way to link Nek5000 with other libraries, is through makenek directly by specifying appropriate USR_LFLAGS

Best.
Aleks


----- Original Message -----
From: nek5000-users at lists.mcs.anl.gov
To: nek5000-users at lists.mcs.anl.gov
Sent: Wednesday, March 28, 2012 7:54:17 AM
Subject: Re: [Nek5000-users] How to use an external lib with nek5000


Can,

If I need to modify the makefile, I usually run makenek once
to have it generate the appropriate makefile, then edit it
(say, to add the library links).

Make certain you make a copy of your edited makefile or it
will be overwritten by a future "makenek" execution.

This is one way... but there are probably some better ones.

If you just want to add routines from the library you can
include them directly into your .usr file and call them from
there.

Hope this helps.

Paul

On Wed, 28 Mar 2012, nek5000-users at lists.mcs.anl.gov wrote:

> Hi neks !
>
> I would like to use the subroutines in the JMFFT lib (Fast Fourrier Transform 
> library)
>
> http://www.idris.fr/data/publications/JMFFT/
>
> How can i do this with nek5000??
>
> B.regards
> Can
> _______________________________________________
> Nek5000-users mailing list
> Nek5000-users at lists.mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
>
_______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users



More information about the Nek5000-users mailing list