Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor II
72 Views

LIB Files

The program for prime numbers supplied by mecej4 ran in about 32 minutes on a Core i5.  

Thank you. 

I am looking at the large integer program from Smith at Loyola.  

I put the main module into a static Fortran library and it created a FM.lib file. 

The manual indicates that you simply add the .lib file to the solution with the entry file and it should link. 

The first time I did, but now I get cannot open mod files as an error for the main lib module?

I read the manual and I appear to be doing things correctly - any ideas would be welcome?

0 Kudos
1 Reply
Highlighted
61 Views

The output folder for the .mod file, must be in the INPUT path directory list. Often 3rd party sick the output somewhere other than default.

Find where the .mod file got placed, and add that to your INPUT search path.

Jim Dempsey

0 Kudos