Looks like my version of ifort does not really like the '-vec-report0' option. Makefile:138: recipe for target 'all' failed In the below image, the program was executed twice, one with the command line argument 10 and another with the. run args : This command runs the current executable file. It opens the gdb console of the current program, after printing the version information. Make: *** Error 1ĬMakeFiles/Makefile2:529: recipe for target 'src/scalelib/CMakeFiles/scalelib.dir/all' failed To start the debugger of the above gfg executable file, enter the command gdb gfg. Src/scalelib/CMakeFiles/scalelib.dir/build.make:494: recipe for target 'src/scalelib/CMakeFiles/scalelib.dir/fido_M.f90.o' failed Note: File and line given may not be explicit cause of this error.Ĭompilation aborted for /scale/scale6.1/src/scalelib/fido_M.f90 (code 1) Ifort: command line remark #10148: option '-vec-report0' not supportedĬatastrophic error: **Internal compiler error: segmentation violation signal raised** Please report this error along with the circumstances in which it occurred in a Software Problem Report. However, a new problem appears when I type the command sudo make in my build directory: Now, I am able to properly run linux_x86_64-cmake. (The original version of linux_x86_64-cmake just has this flag set to the name ifort) D CMAKE_Fortran_COMPILER:STRING=/opt/intel/compilers_and_libraries_201\ ![]() I thus changed the permission for linux_x86_64-cmake and changed the CMAKE_Fortran_COMPILER flag as follow: Therefore, I really have the impression that linux_x86_64-cmake is the one who can't properly find ifort. I was also able to compile a little fortran script I wrote with ifort. I think my ifort environment variables are correctly set. Prior to invoke the cmake script, if I run ifort -version I have :Ĭopyright (C) 1985-2016 Intel Corporation. Would anyone be able to see what the problem is or to give me a solution? If that can be of any help, I put the CmakeOutput.log and Error.log as attached files. bashrc PATH variable or setting the variable FC to ifort, same error. I also tried to manually add the directory where the ifort bin is located to the. Path to the compiler, or to the compiler name if it is in the PATH. Variable "FC" or the CMake cache entry CMAKE_Fortran_COMPILER to the full Tell CMake where to find the compiler by setting either the environment Is not a full path and was not found in the PATH. Now, when I follow the instructions in the scale6.1_readme.pdf Build Instructions the step where I invoke the script linux_x86_64-cmake produces the following error:ĬMake Error at CMakeLists.txt:5 (project): bashrc which, according to intel, is supposed to set the environment variable for the ifort compiler (see website: ) I added the script "source /opt/intel/bin/compilervars.sh intel64" into. I installed correctly (I think) ifort via intel parallel studio. ![]() ![]() I am trying to recompile scale6.1 on a Ubuntu16.04 laptop.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |