Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Comunicados
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.
29283 Discussões

how to specific the path where the .mod file will be create to

keweive
Principiante
686 Visualizações
as we know, the .mod file will be Created if a source file being compiled defines a Fortran module (MODULE statement).
the .mod file will be in the current path
Can I specify the Path where this file will be ceated to, and How?
thanks for you attention!

0 Kudos
1 Responder
Kevin_D_Intel
Funcionário
686 Visualizações

As documented in the ifort Users guide, use the -module option.

module

Specifies the directory where module files should be placed when created and where they should be searched for.

Syntax

Linux and Mac OS X: -module path

Windows: /module:path

Arguments

path Is the directory for module files.



Responder