CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   Main CFD Forum (http://www.cfd-online.com/Forums/main/)
-   -   Fortran90 (creating executable by using libraries) (http://www.cfd-online.com/Forums/main/8141-fortran90-creating-executable-using-libraries.html)

Ravi September 27, 2004 22:34

Fortran90 (creating executable by using libraries)
 
Hi,

I am trying to create an executable using pgf90 compiler of a code that uses several libraries (like LINPAck/LAPACK/PetSc etc). I need to create the executable by linking the PetSc libraries and then use it on a machine which does not have these libraries installed. This would involve (probably) the use of a certain linking flag during the compilation process that would take care of linking the libraries in such a way it can be used on another machine which does'nt have the same libraries installed. Can anyone tell me how can I do this?. If someone has a sample makefile which can do this that might help me.

thanks, ravi.


All times are GMT -4. The time now is 23:20.