Topic: PORTLIB

I am trying to build a fortran program.  I am getting a fatal error: cannot open module file 'portlib.mod' at line USE PORTLIB.

Can somebody help me on where I can download or build this module that will work with Simply Fortran?

Many thanks for your help.

Re: PORTLIB

A quick google search suggests that the library you're looking for is at:

http://w3.pppl.gov/ntcc/Port/

The package may require you to run a preprocessor first, which appears to require Python.  Let me know if you have any luck.  I'll see if I can help if you're still having difficulties.

Jeff Armstrong
Approximatrix, LLC

Re: PORTLIB

Thanks Jeff.  I have actually seen this before on my google search.  My thinking is that I have to download the source, compile, and then build the module using Simply Fortran.  I have read that  the module has to be compiled by the same Fortran compiler for compatibility.

Any thoughts?

Re: PORTLIB

Hi -

Have you tried downloading PORTLIB source and compiling it ?

I found the source can be downloaded by going to

   http://w3.pppl.gov/ntcc/Port/downloads.shtml

Click "Download" then "Accept" and there is a link for a zip file that worked for me. I did not try to build it.

Regards

Re: PORTLIB

rob3127 wrote:

I have read that  the module has to be compiled by the same Fortran compiler for compatibility.

Any thoughts?

That statement is generally true, yes.  Simply Fortran should be able to compile it.  The only complexity is that the source code requires preprocessing by their preprocessor after download but prior to compiling with Simply Fortran.  I'd have to look at the packages myself in detail to see what's involved.  I'll see if I can get around to it next week.

Jeff Armstrong
Approximatrix, LLC