×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Compiling MVS 2010 Fortran project with recourse to .mod and .o module files

Compiling MVS 2010 Fortran project with recourse to .mod and .o module files

Compiling MVS 2010 Fortran project with recourse to .mod and .o module files

(OP)
Dear all,
I'm using Microsoft Visual Studio 2010 (MVS 2010) for compiling and debugging FORTRAN projects. I'm currently working on a project that was developed by a collaborator.

The project is composed of several Fortran (.f90) files containing the main program and sub-routines. It also make use of external modules (with the key-word "Use") which are given in the form of .mod and .o files (thus, already compiled). However, I don't have the source files of these modules.

However, I don't manage to build and generate the solution with MVS2010. The compiler does not recognise the modules and all the variables and procedures it contains by indicating "This module file was not generated by any release of this compiler". Yet, the .mod and .o files are present in the compilation directory. I have also saved these files in the "Debug" sub-foolder.

I'm not acustomed to use external modules. Is somebody able to explain me how to go about and solve my problem ? How can I indicate to the compiler that it must take into account the module files ?

Thank you very much by advance

RĂ©mi

RE: Compiling MVS 2010 Fortran project with recourse to .mod and .o module files

Looks like the modules were built with gfortran. Not sure if these are compatible with microsofts object format.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close