hi han,
can you do
$ mpicc -v
icc version 16.0.3 (gcc version 4.8.5 compatibility)
you use (similar for CXX)
CMAKE_C_COMPILER : /opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/bin/mpiicc
and
MPI_C_COMPILER : /opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/bin/mpicc
maybe you should use mpiicc instead of mpicc for mpi compilation.
cheers,
wolfgang
----- Original Message -----
From: "Takanori Nakane" <[log in to unmask]>
To: "Mailinglist CCPEM" <[log in to unmask]>
Sent: Tuesday, 26 February, 2019 08:13:42
Subject: Re: [ccpem] Relion 3.0 install problem with intel compiler
Hi,
> g++: error: language CORE-AVX2 not recognized
It seems that you are still using GCC not ICC for compilation.
The CPU acceleration was developed by our collaborators in
Sweden (Erik Lindahl group) and I am not very experienced with it.
Probably they can help more.
Best regards,
Takanori Nakane
On 2019/02/26 5:02, 류범한 wrote:
> Dear Takanori,
>
> I am so glad at last RELION3.0 stable.
> After I knew about the new release of RELION, I tried fresh installation.
> Regarding the benefits of dual acceleration(CPU/GPU) and intel compiler, the main purpose of installation at the time was not just to update but also to maximize the performance of RELION.
>
> Thus, I tried to install Relion3.0 stable version with cpu acceleration setup and upon intel compiler (I’ve installed intel parallel studio XE 2018 update4) to boost up the processing speed.
>
> But I have been facing with an error in installation, which is related to GCC or G++.
>
> Could you let me know how I can solve it out?
>
> The details are shown below.
> I guess special version or setup of GCC/G++ is needed...
>
>
> Best regards,
> Han
>
>
> Bum Han Ryu
> Postdoctoral Researcher
> Korea University
>
>
>
> -------------------------------------------------------
> [root@cryoemlab build]# which g++
> /opt/gcc/6.5.0/bin/g++
>
>
> [root@cryoemlab build]# ./config.sh
> -- BUILD TYPE set to the default type: 'Release'
> -- Using provided CUDA_ARCH=61
> -- ALTCPU enabled - Building CPU-accelerated version of RELION
> -- Setting cpu precision to double
> -- Setting accelerated code precision to single
> -- Using non-cuda compilation....
> -- TBB_FOUND : TRUE
> -- TBB_INCLUDE_DIRS : /opt/intel/compilers_and_libraries_2018.5.274/linux/tbb/include
> -- TBB_VERSION : 2018.0
> -- TBB_LIBRARIES : /usr/lib64/libtbb.so
> -- MPI_INCLUDE_PATH : /opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/include
> -- MPI_LIBRARIES : /opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/lib/libmpicxx.so;/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/lib/libmpifort.so;/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/lib/release_mt/libmpi.so;/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/lib/libmpigi.a;/lib64/libdl.so;/lib64/librt.so;/lib64/libpthread.so
> -- MPI_CXX_INCLUDE_PATH : /opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/include
> -- MPI_CXX_LIBRARIES : /opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/lib/libmpicxx.so;/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/lib/libmpifort.so;/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/lib/release_mt/libmpi.so;/opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/lib/libmpigi.a;/lib64/libdl.so;/lib64/librt.so;/lib64/libpthread.so
> -- CMAKE_C_COMPILER : /opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/bin/mpiicc
> -- CMAKE_CXX_COMPILER : /opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/bin/mpiicpc
> -- MPI_C_COMPILER : /opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/bin/mpicc
> -- MPI_CXX_COMPILER : /opt/intel/compilers_and_libraries_2018.5.274/linux/mpi/intel64/bin/mpicxx
> -- CMAKE_CXX_COMPILER_ID : Intel
> -- Texture interpolation is omitted.
> -- Could NOT find FLTK (missing: FLTK_LIBRARIES FLTK_FLUID_EXECUTABLE)
> -- No FLTK installation was found
> -- Found previously built non-system FLTK libraries that will be used.
> -- FLTK_INCLUDE_DIR: /opt/relion-intel/relion3.0-stable/external/fltk/include
> -- FLTK_LIBRARIES: /opt/relion-intel/relion3.0-stable/external/fltk/lib/libfltk.so
> BUILD_SHARED_LIBS = OFF
> -- Building static libs (larger build size and binaries)
> Running apps/CMakeLists.txt...
> -- CMAKE_BINARY_DIR:/opt/relion-intel/relion3.0-stable/build
> TIFF FOUND
> OPENMP FOUND
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /opt/relion-intel/relion3.0-stable/build
>
>
> [root@cryoemlab build]# make
> [ 0%] Built target copy_scripts
> [ 1%] Building CXX object src/apps/CMakeFiles/relion_lib.dir/__/CPlot2D.cpp.o
> g++: error: language CORE-AVX2 not recognized
> g++: error: language CORE-AVX2 not recognized
> make[2]: *** [src/apps/CMakeFiles/relion_lib.dir/__/CPlot2D.cpp.o] Error 1
> make[1]: *** [src/apps/CMakeFiles/relion_lib.dir/all] Error 2
> make: *** [all] Error 2
>
>
>
>
>
>
> ########################################################################
>
> To unsubscribe from the CCPEM list, click the following link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCPEM&A=1
>
########################################################################
To unsubscribe from the CCPEM list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCPEM&A=1
########################################################################
To unsubscribe from the CCPEM list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCPEM&A=1
|