Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

LIB Files

JohnNichols
Valued Contributor III
329 Views

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
jimdempseyatthecove
Honored Contributor III
318 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
Reply