Quantcast
Channel: Recent posts
Viewing all articles
Browse latest Browse all 415

Visual Studio 2015 / Fortran 2017

$
0
0

Hello,

I tried to use compile Fortran projects as static libraries with Microsoft VS 2015 and the latest Intel Fortran Compilers. Therefore we create the vfproj-Files and start devenv.exe to compile them as "Debug|Win32" or "Release|x64". We do so with VS2010 and Fortran 2011 which works fine so far.

We want to upgrade, unfortunately I cannot get this to work. Whenever I call devenv from my batch file with my vfproj-Project it works with "*|x64" and compiles the x64 static libraries to the configured x64 directories. If I try to compile "*|Win32" a Window opens which tells me I did the call incorrectly. Apparently "Win32" is the problem, which works fine with VS2010/IF2011. So we tried "*|x86" which works fine. It uses the Win32 configuration, unfortunately fortran compiles x64 objects into the x86 directories.

When compiling inside devenv we can create x86 and x64 files as desired.
But we cannot start Visual Studio on our build server and do this by hand for more than 90 static libs.

Additionally, last friday my evaluation period is expired. We don't have a running system so far and we're running out of ideas how to manage this.
So currently we cannot upgrade.

Maybe someone can give me the hint how to successfully compile fortran projects from comand line?

Thank you in advance


Viewing all articles
Browse latest Browse all 415

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>