PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Incompatible or Old Module File

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
bjd_ba



Joined: 07 Apr 2005
Posts: 2

PostPosted: Mon May 23, 2005 9:00 am    Post subject: Incompatible or Old Module File Reply with quote

I'm trying to compile code received from an outside source using a Makefile. About 3/4 of the way through, I get the following messages:

PGF90-S-0004-Incompatible or Old Module File
PGF90-F-0004-Compile source file with same compiler

Does anyone know where I can find a reference that can clue me as to how to fix this? The FORTRAN reference .pdf and the FAQ don't seem to refer to it.
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5952
Location: The Portland Group Inc.

PostPosted: Mon May 23, 2005 10:54 am    Post subject: Reply with quote

Hi bjd_ba,

The internal struture of a Module file is different between compiler vendors and can change between releases of a compiler. Because of this, you need to re-compile your modules as well as your source.

Hopefully, this is as easy as performing a 'make clean' and re-compiling. Some makefiles , however, don't always removed ".mod" files. In this case you'll need to remove them manually. If the module files are from a library or other source, such as NetCDF, you'll need to get the module's source file and recompile.

- Mat
Back to top
View user's profile
bjd_ba



Joined: 07 Apr 2005
Posts: 2

PostPosted: Wed May 25, 2005 2:32 pm    Post subject: Reply with quote

Mat,

Deleting the old .mod files and compiling worked fine. Thank you.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group