Fortran90 (creating executable by using libraries)
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.
|All times are GMT -4. The time now is 23:20.|