Re: [Scalablecr-discuss] Fortran bindings for SCR
Brought to you by:
kathrynmohror,
moody20
From: Wadud M. <w....@qm...> - 2014-08-15 21:16:03
|
Hello Adam, Thanks for your reply. I cannot find the libscrf.so library and neither the example Fortran program examples/test_ckpt.F in my installation of version of 1.1.7. I had a look at the configure options and there is nothing there to indicate the building for the Fortran bindings. Which version do you have? I also assigned the environment variable F77 to ifort. Regards, Wadud. -----Original Message----- From: Adam T. Moody [mailto:mo...@ll...] Sent: 15 August 2014 21:09 To: Wadud Miah Cc: sca...@li... Subject: Re: [Scalablecr-discuss] Fortran bindings for SCR Hi Wadud, I forgot to mention that you need link Fortran apps to -lscrf instead of -lscr. It's also helpful to look at the examples/test_ckpt.F for an example and see the makefiles.example for instructions on how it was compiled and linked. -Adam Adam T. Moody wrote: >Hi Wadud, >Fortran 77 bindings are available in src/scrf.c and src/scrf.h. They >are modeled after the Fortran bindings used for MPI, so if you're >familiar with MPI calls from Fortran, SCR calls will look familiar. All >functions are invoked with captial letters, and each function returns an >error code of type INTEGER in its last argument. You sould be able to >include scrf.h in your Fortran application and make calls to SCR functions. > >It's been a while since I've tested those, though, so let me know if you >hit any problems. >-Adam > > >Wadud Miah wrote: > > > >>Hello, >> >>Will Fortran bindings be available for SCR? >> >>Regards, >> >>------------------------------------------- >>Wadud Miah >>Research Computing Services (HPC) >> >> >> >> >>------------------------------------------------------------------------ >> >>------------------------------------------------------------------------------ >> >> >>------------------------------------------------------------------------ >> >>_______________________________________________ >>Scalablecr-discuss mailing list >>Sca...@li... >>https://lists.sourceforge.net/lists/listinfo/scalablecr-discuss >> >> >> >> > > >------------------------------------------------------------------------------ >_______________________________________________ >Scalablecr-discuss mailing list >Sca...@li... >https://lists.sourceforge.net/lists/listinfo/scalablecr-discuss > > |