BloodyNose
BloodyNose

Reputation: 21

C++ compiler not found by Abaqus

Abaqus unable to locate C++ compiler. I need to setup an interface between Abaqus and Intel Parallel Studio which requires Visual Studio. No matter what installations or settings I use, Abaqus fails to locate a C++ compiler. The crucial component is Intel Fortran Compiler which can be located.

I tried different versions of Visual Studio:

Parallel Studio:

Abaqus:

Operating system:

All that is running in a Virtual Machine (KVM) in an OpenStack Cloud.

Steps for testing in cmd.exe:

This finds all crucial components but one, output of the significant section:

Processor: Intel Xeon Processor (Skylake, IBRS)
Number of CPUs: 4
Physical Memory: 46080 MB
Virtual Memory: 47807 Available / 52737 Total Mbytes
OS Version: Windows 10 Enterprise N LTSC 2019 (Build 17763)
C++ Compiler: Unable to locate or determine the version of a C++ compiler on this system. If a C++ compiler is installed on this system, please load vcvars64.bat file before running Abaqus Linker Version: Microsoft (R) Incremental Linker Version 14.16.27031.1 > Fortran Compiler: Intel Fortran Compiler 19.0
MPI: MS-MPI 5.0.12435.6
Browser: Firefox 66.0.3.0

Upvotes: 0

Views: 3097

Answers (1)

UN4
UN4

Reputation: 597

you have to execute:

ifortvars.bat intel64 vs2013

the parameters depend on your system and the visual studio version required. If you have default abaqus environment configuration this command does everything you need.

Where the bat file is located depends on version of intel compiler and your installation. In my case it is in:

C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2016\windows\bin\ifortvars.bat

you execute this command before launching abaqus command in the command prompt or you have to add a call to it to abaqus.bat file

Upvotes: 1

Related Questions