Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Cantera

felipeabrao
Beginner
798 Views
Hello, everybody!

I do not understand much about computers, but would like to know something. I try to use a module called Cantera, but have the following error message after compiling the main program:

Error: This is not a DEC Fortran module file. [CANTERA]
use Cantera
------------^

Could anybody please help me? Thank you.

Sincerely,

Felipe
0 Kudos
3 Replies
Steven_L_Intel1
Employee
798 Views

Module files are precompiled declarations. The .mod file (this is usually the file type) is compiler-specific - compiler A will not read a .mod file generated by compiler B.

My guess is that you are using Compaq Visual Fortran, or perhaps a very old version of Intel Visual Fortran. The Cantera software you got was built for use by some different compiler. You will need to get a version of Cantera built for use with your compiler, or switch compilers to one that is compatible.
0 Kudos
Martin_Knirsch
Beginner
797 Views
Quoting - felipeabrao
Felipe,
a module is a program unit used to define global data in a single place. It contains data object declarations, derived types, procedure and procedure interface definitions etc. A program (unit) that accesses the module can make use of all module content.
Digital Fortran comes with a module wizard that generates F90 modules that makes it easy to call automation services from a fortran program; see "using com an automation objects" in the dec programmers guide.

I assume you link your application against a precompiled library compiled with another fortran compiler that is creating a different module interface. Try to get hold of the source of this module, include it into your code and recompile.
Good luck
Martin



Hello, everybody!

I do not understand much about computers, but would like to know something. I try to use a module called Cantera, but have the following error message after compiling the main program:

Error: This is not a DEC Fortran module file. [CANTERA]
use Cantera
------------^

Could anybody please help me? Thank you.

Sincerely,

Felipe

0 Kudos
felipeabrao
Beginner
797 Views
Quoting - felipeabrao
Hello! I would like to thank you for your help! Yes, I use Visual Fortran 6.0, but I did not have the .mod file for Cantera. I friend of mine gave me hers. Before that, the errors were:
Could not find the file Cantera.mod.
and
Error: Error in opening the Library module file. [CANTERA]
use Cantera
------------^
Error executing df.exe.
I will try to follow your tips. Thank you again!
Felipe
0 Kudos
Reply