I did a full and successful installation of Intel parallel studio on Ubuntu 18 just so I could compile with ifort. But now I can't figure out what to do next since the terminal doesn't recognize the ifort command.
Related
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:
2017 community,
2017 enterprise,
2015 community,
2013 community.
Parallel Studio:
XE 2019
Abaqus:
2018 Research license
Operating system:
Windows 10 LTSC
All that is running in a Virtual Machine (KVM) in an OpenStack Cloud.
Steps for testing in cmd.exe:
Implementing the Paths to Visual Studio and Parallel Studio
vcvars64.bat (Visual Studio)
cl.exe prog.cpp works fine
ifortvars.bat (Parallel Studio)
Fortran compiler works fine
abaqus info=system (Abaqus)
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
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
I just installed Windows 10. I have install two versions of Visual Studio installed (2015 and 2017) on my system and also install Intel Fortran Compiler 2016. Just run the simple code
program Console3
implicit none
! Variables
! Body of Console3
print *, 'Hello World'
end program Console3
it does work properly when run inside a VS 2015 command prompt and show the following error "rc.exe not found"
I need intel compiler for my work on My windows [Win7 Prof, 64bit]. I am planning to download the trial version for the same i.e. IntelĀ® Parallel Studio XE.
Could I install this without installing Visual Studio ? I wish to use this on command line only i.e. icl.exe through Cygwin.
Any help is appreciated.
Yes you can.
Per the documentation, you have support for:
Command Line (What you're looking for)
Visual Studio
Eclipse
XCode
I'm trying to build the boost mpi library for MS-MPI.
I followed the official Getting Started document of boost mpi but got stuck. When calling bjam.exe --with-mpi it told me that it would skip mpi.
So I added the path of the MS-MPI launcher to my user-config.jam:
using mpi : "C:\Program Files\Microsoft MPI\Bin\mpiexec.exe" ;
As the boost manual indicated.
This however will lead to an argument error when trying to build.
bjam is obviously able to find the mpiexec executable but does not know the correct arguments. It's not clear to me from the boost documentation what to do about that.
Here is a full description on how to build boost mpi version 1.55 for MS-MPI using Visual Studio 2012 on Windows 7.
Get the MS-MPI Redistributable Package from http://msdn.microsoft.com/en-us/library/bb524831%28v=vs.85%29.aspx
and install it in the standard location
Extract the boost 1.55 sources
Run bootstrap.bat in a Visual Studio 2012 command prompt
Add the following line to build\v2\user-config.jam
using mpi ;
Change the following lines in build\v2\tools\mpi.jam
Line 249: Change the value of cluster_pack_path_relative to the installation directory of MS-MPI. Like this: local cluster_pack_path_native = "C:\\Program Files\\Microsoft MPI" ;
Line 251: Change ...\\Include : mpi.h to ...\\Inc : mpi.h
Line 260: Change .../Include to .../Inc
Run bjam.exe --with-mpi --toolchain=msvc-11.0
This Should compile now
To create a Visual Studio solution that builds the boost mpi example, the newly built boost mpi and serialization libraries have to be added to the solution as well as the msmpi.lib from the MS-MPI installation path.
I'm trying to get started with CUDA and a 64-bit compiler on Windows 7 SP 1. Ultimately, I wish to compile mex-files for use with Matlab (R2014a). I have an older computer which I successfully configured to do this using older versions of CUDA and VS C++ Express, but I can't seem to get it to work with the newer packages.
I've installed CUDA 6.0 and Visual Studio C++ 2012 Express, which web readings suggest should work together. I'm not sure whether I also need the Microsoft SDK, which used to be necessary in order to get the 64-bit compilers; it seems that these are included with VS these days.
I created a vcvars64.bat inside 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\x86_amd64'. I also made a copy of the entire directory renamed to 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\amd64'. These steps used to be necessary for older versions -- not sure if they still are.
However, when I try to compile, I get the following error:
nvcc : warning : The 'compute_10' and 'sm_10' architectures are
deprecated, and may be removed in a future release. nvcc : fatal
error : nvcc cannot find a supported version of Microsoft Visual
Studio. Only the versions 2008, 2010, and 2012 are supported
Compilation errors found: terminating.
I'm compiling as follows:
nvcc --cuda myfile.cu --output-file myfile.cpp
Following this I would call mex within Matlab to build the mex file. But I can't get past this first step. Does anybody know how nvcc determines where to look for the compiler, and how I can get it to recognize a supported compiler? Note that 'C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\bin\amd64\cl.exe' is on the system path.
Try to run vcvars64.bat and matlab both from the command line. This makes the correct VS environment variables known to Matlab and nvcc.