Linking other libs to Nek, e.g. ESSL in Blue Gene
Dear Neks, I have a short technical question. For our post processing analysis of turbulent convection we want to use routines from ESSL Library. Where is the best place to include the link command to this library into the makefile or makenek? Thanks in advance, Joerg. ==================================================== Joerg Schumacher Professor for Fluid Mechanics Institute of Thermodynamics and Fluid Mechanics Technische Universität Ilmenau P.O. Box 100565 D-98684 Ilmenau Germany E-mail: [email protected]<mailto:[email protected]> http://www.tu-ilmenau.de/tsm Phone: +49-3677-69-2428 Fax: +49-3677-69-2411 ====================================================
Hi Joerg, The easiest place to call your routines will be in userchk since it is called by every rank every time step including istep=0 Best. Aleks ________________________________ From: [email protected] [[email protected]] on behalf of [email protected] [[email protected]] Sent: Friday, August 29, 2014 1:15 PM To: [email protected] Subject: [Nek5000-users] Linking other libs to Nek, e.g. ESSL in Blue Gene Dear Neks, I have a short technical question. For our post processing analysis of turbulent convection we want to use routines from ESSL Library. Where is the best place to include the link command to this library into the makefile or makenek? Thanks in advance, Joerg. ==================================================== Joerg Schumacher Professor for Fluid Mechanics Institute of Thermodynamics and Fluid Mechanics Technische Universität Ilmenau P.O. Box 100565 D-98684 Ilmenau Germany E-mail: [email protected]<mailto:[email protected]> http://www.tu-ilmenau.de/tsm Phone: +49-3677-69-2428 Fax: +49-3677-69-2411 ====================================================
P.S. Sorry -- missed the question -- as far as the makenek is concerned -- you could use USR_LFLAGS= like USR_LFLAGS="-L/usr/lib -lfoo" ________________________________ From: [email protected] [[email protected]] on behalf of [email protected] [[email protected]] Sent: Friday, August 29, 2014 2:12 PM To: [email protected] Subject: Re: [Nek5000-users] Linking other libs to Nek, e.g. ESSL in Blue Gene Hi Joerg, The easiest place to call your routines will be in userchk since it is called by every rank every time step including istep=0 Best. Aleks ________________________________ From: [email protected] [[email protected]] on behalf of [email protected] [[email protected]] Sent: Friday, August 29, 2014 1:15 PM To: [email protected] Subject: [Nek5000-users] Linking other libs to Nek, e.g. ESSL in Blue Gene Dear Neks, I have a short technical question. For our post processing analysis of turbulent convection we want to use routines from ESSL Library. Where is the best place to include the link command to this library into the makefile or makenek? Thanks in advance, Joerg. ==================================================== Joerg Schumacher Professor for Fluid Mechanics Institute of Thermodynamics and Fluid Mechanics Technische Universität Ilmenau P.O. Box 100565 D-98684 Ilmenau Germany E-mail: [email protected]<mailto:[email protected]> http://www.tu-ilmenau.de/tsm Phone: +49-3677-69-2428 Fax: +49-3677-69-2411 ====================================================
Hi Aleks, I agree, but that does unfortunately not answer my question. Let me give an example: I want to call the routine call dgeev (..,..,..) in usrchk. But where do I have to link the ESSL lib? Something like -lessl needs to be added somewhere in the makefiles? Thanks a lot, Joerg. Am 29.08.2014 um 21:12 schrieb <[email protected]<mailto:[email protected]>> <[email protected]<mailto:[email protected]>>: Hi Joerg, The easiest place to call your routines will be in userchk since it is called by every rank every time step including istep=0 Best. Aleks ________________________________ From: [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>] on behalf of [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>] Sent: Friday, August 29, 2014 1:15 PM To: [email protected]<mailto:[email protected]> Subject: [Nek5000-users] Linking other libs to Nek, e.g. ESSL in Blue Gene Dear Neks, I have a short technical question. For our post processing analysis of turbulent convection we want to use routines from ESSL Library. Where is the best place to include the link command to this library into the makefile or makenek? Thanks in advance, Joerg. ==================================================== Joerg Schumacher Professor for Fluid Mechanics Institute of Thermodynamics and Fluid Mechanics Technische Universität Ilmenau P.O. Box 100565 D-98684 Ilmenau Germany E-mail: [email protected]<mailto:[email protected]> http://www.tu-ilmenau.de/tsm Phone: +49-3677-69-2428 Fax: +49-3677-69-2411 ==================================================== _______________________________________________ Nek5000-users mailing list [email protected]<mailto:[email protected]> https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users
participants (1)
-
nek5000-users@lists.mcs.anl.gov