[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 07:54:17 CDT 2012


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
>



More information about the Nek5000-users mailing list