marc和Fortran子程序链接? 50

浏览:1208 回答:1
安装了vs2010、Fortran2011、Marc2013(都是C盘默认安装)之后    然后按照这个编辑了环境变量 
include:
C:\Program Files (x86)\Intel\ComposerXE-2011\compiler\include;
C:\Program Files (x86)\Intel\ComposerXE-2011\mkl\include;
C:\MSC.Software\Marc\2013.0.0\marc2013\msmpi\win64\Include;
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include;
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include
lib:
C:\Program Files (x86)\Intel\ComposerXE-2011\compiler\lib\intel64;
C:\Program Files (x86)\Intel\ComposerXE-2011\mkl\lib\intel64;
C:\MSC.Software\Marc\2013.0.0\marc2013\lib\win64i8;
C:\MSC.Software\Marc\2013.0.0\marc2013\lib\win64;
C:\MSC.Software\Marc\2013.0.0\marc2013\intelmpi\win64\Lib;
C:\MSC.Software\Marc\2013.0.0\marc2013\lib_shared\win64;
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\amd64;
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\lib\ia64;
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Lib\x64
path:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin;
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\x64;
C:\Program Files (x86)\Intel\ComposerXE-2011\bin;
C:\MSC.Software\Marc\2013.0.0\marc2013\bin;
C:\MSC.Software\Marc\2013.0.0\marc2013\tools;
C:\MSC.Software\Marc\2013.0.0\mentat2013\bin;
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin;
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64;
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE;
C:\Program Files (x86)\Intel\ComposerXE-2011\bin\intel64;
C:\Program Files (x86)\Intel\ComposerXE-2011\redist\intel64\mkl
但是出现了这个错误,
ifort  /fpp /c /DWIN32_intel  -D_IMPLICITNONE /nologo /integer_size:64 -DI64 -DOPENMP -DMKL -D_MSCMARC -DWIN64 /I"C:\MSC.Software\Marc\2013.0.0\marc2013\common" /I"C:\MSC.Software\Marc\2013.0.0\marc2013\bcsgpusolver\common" /I"C:\MSC.Software\Marc\2013.0.0\marc2013\mumpssolver\include" /I"C:\MSC.Software\Marc\2013.0.0\marc2013\intelmpi\win64\include" /O2 /Qip /Qsave /Qzero /Qvec- /switch:fe_old_modvar /W0   -DCASI -DPARDISO -DMUMPS -DBCSGPU -DCUDA /MD -DDDM /object:"E:\FSW\FSW_MARC\flux.obj"  "E:\FSW\FSW_MARC\flux.f" 
'ifort' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
compile failed for E:\FSW\FSW_MARC\flux.f 
          Marc 2013.0.0 Exit number 3 

通过网上查询是Fortran和marc没有链接上,但是一直不知道怎么处理才行 


试过这种方法

@call "C:\Program Files (x86)\Intel\ComposerXE-2011\bin\ifortvars.bat"
@ECHO off

但是还是出现上面这个问题,求各位大神指教,都已经困住了1个星期了,头都搞大了


邀请回答 我来回答

全部回答

(1)
默认 最新
Bronzecraft
题主最好先确认下自己Fortran是否安装成功,然后再根据帮助文档介绍关联Marc
2020年6月14日
评论 点赞

没解决?试试专家一对一服务

换一批