I tried to install different version of GCC instead of 'devtoolset-*'. But My model keeps failing me with a messages saying '!$OMP& PRIVATE(ierr, thread_id, core_id, hex_char, isubstr) internal compiler error: in gimplify_expr, at gimplify.c:11859'
So started installing other version of GCC downloaded at 'https://ftp.gnu.org/' but It keeps failing and saying this bunch of error messagges
checking what to include in gstdint.h... stdint.h (already complete)
configure: error: Pthreads are required to build libgomp
make[2]: [configure-stage1-target-libgomp] error 1
make[2]: Leaving directory `/home/vagrant/CESM_ref/CESM_porting/script/gcc-7.3.0'
make[1]: *** [stage1-bubble] error 2
make[1]: Leaving directory `/home/vagrant/CESM_ref/CESM_porting/script/gcc-7.3.0'
make: [all] error 2
make[1]: Entering directory `/home/vagrant/CESM_ref/CESM_porting/script/gcc-7.3.0'
make[2]: Entering directory `/home/vagrant/CESM_ref/CESM_porting/script/gcc-7.3.0/host-x86_64-pc-linux-gnu/fixincludes'
make[2]: 타겟 `install'를 만들 규칙이 없음. 멈춤.
make[2]: Leaving directory `/home/vagrant/CESM_ref/CESM_porting/script/gcc-7.3.0/host-x86_64-pc-linux-gnu/fixincludes'
make[1]: *** [install-fixincludes] 오류 2
make[1]: Leaving directory `/home/vagrant/CESM_ref/CESM_porting/script/gcc-7.3.0'
make: *** [install] 오류 2**
This is the command line I used.
./configure --prefix=/home/vagrant/modules/gcc-7.3.0 --enable-languages=c,c++,fortran --disable-multilib
Thanks you for any help.