|
[Sponsors] |
September 26, 2015, 05:25 |
error make SU2 4.0.1
|
#1 |
New Member
Heathckliff
Join Date: Sep 2015
Posts: 2
Rep Power: 0 |
Hi,
when I was trying to compile SU2 4.0.1 from the source, at the make step, I got the following message, and the make process stopped, Does anyone know how to figure out the problem ? [H@H SU2]# make -j 4 Making all in externals make[1]: Entering directory `/tmp/SU2/externals' make[2]: Entering directory `/tmp/SU2' make[2]: Leaving directory `/tmp/SU2' Making all in tecio make[2]: Entering directory `/tmp/SU2/externals/tecio' Makefile:441: tecsrc/.deps/libtecio_a-TranslatedString.Po: No such file or directory Makefile:442: tecsrc/.deps/libtecio_a-alloc.Po: No such file or directory Makefile:443: tecsrc/.deps/libtecio_a-arrlist.Po: No such file or directory Makefile:444: tecsrc/.deps/libtecio_a-auxdata.Po: No such file or directory Makefile:445: tecsrc/.deps/libtecio_a-dataio.Po: No such file or directory Makefile:446: tecsrc/.deps/libtecio_a-dataio4.Po: No such file or directory Makefile:447: tecsrc/.deps/libtecio_a-dataset.Po: No such file or directory Makefile:448: tecsrc/.deps/libtecio_a-dataset0.Po: No such file or directory Makefile:449: tecsrc/.deps/libtecio_a-datautil.Po: No such file or directory Makefile:450: tecsrc/.deps/libtecio_a-filestream.Po: No such file or directory Makefile:451: tecsrc/.deps/libtecio_a-geom2.Po: No such file or directory Makefile:452: tecsrc/.deps/libtecio_a-q_msg.Po: No such file or directory Makefile:453: tecsrc/.deps/libtecio_a-q_unicode.Po: No such file or directory Makefile:454: tecsrc/.deps/libtecio_a-set.Po: No such file or directory Makefile:455: tecsrc/.deps/libtecio_a-strlist.Po: No such file or directory Makefile:456: tecsrc/.deps/libtecio_a-strutil.Po: No such file or directory Makefile:457: tecsrc/.deps/libtecio_a-tassert.Po: No such file or directory Makefile:458: tecsrc/.deps/libtecio_a-tecxxx.Po: No such file or directory make[2]: *** No rule to make target `tecsrc/.deps/libtecio_a-tecxxx.Po'. Stop. make[2]: Leaving directory `/tmp/SU2/externals/tecio' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/SU2/externals' make: *** [all-recursive] Error 1 [H@H SU2]# |
|
October 30, 2015, 15:31 |
|
#2 |
Super Moderator
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14 |
Hi,
Hmm.. have you built this version of the code before? Are there old files lying around in those directories? First, I would try a '$ make clean' to clear out anything that had already been compiled and try again. If you're still having issues, you can disable the tecio library altogether to get around the problem with the configure option '--disable-tecio'. The tecio library is only needed if you would like to output Tecplot binary files. Hope this helps, Tom |
|
November 9, 2015, 06:48 |
|
#3 |
New Member
Heathckliff
Join Date: Sep 2015
Posts: 2
Rep Power: 0 |
Sorry to reply so late! I finally successfully installed SU2 4.0.1 with the following configurations and steps:
1. Install Intel parallel studio(optional) 1.1 Install expat 1.2 Install python-2.4 1.3 Install pyxml 1.4 Install intel parallel cluster ex 2016 Note: It seems that the student version of parallel studio license doesn't include the mpi sdk, there just the run-time library; The mpiicc, mpiicpc, mpiifort donot exist in the mpi folder. 2. Install openmpi ./configure --prefix=/opt/openmpi-x.xx.x CC=icc CXX=icpc FC=ifort F77=ifort make -j 4 make install 3. Install Mutation++ (Mutation++ requires cmake; if you don't install it, just run: yum install cmake) unzip mutationpp_0.1_beta.zip cd mutation++ mkdir build cd build cmake .. make install add the following to your .bashrc file: export MPP_DATA_DIRECTORY="path_to_mutation++_directory"/data export PATH="path_to_mutation++_directory"/install/bin:$PATH export LD_LIBRARY_PATH="path_to_mutation++_directory"/install/lib:$LD_LIBRARY_PATH # test installation checkmix air11 4. Install Szip cd szip-2.1 ./configure --prefix=/opt/szip-2.1 make make check make install 5. Install Zlib 6. Install HD5(hd5 requires a libz.a zlib, but cgns requres a shared libz.so, confused!) export CC=`which mpicc` ./configure --prefix=/opt/hd5 --enable-parallel --with-szlib=/opt/szip-2.1 --with-zlib=/opt/zlib-1.2.8 make -j 4 make check --allow-run-root make install 7. Install CGNS_3.1.4 cd src ./configure --prefix=/opt/cgns-3.1.4 --enable-legacy --with-hdf5=/opt/hd5 --with-szip=/opt/szip-2.1/lib/libsz.a --with-zlib=/lib/libz.so.1 --with-mpi=`which mpicc` --enable-64bit --enable-lfs make make install 8. Install SU2 dos2unix configure dos2unix config.sub dos2unix config.guess source /etc/profile export CXXFLAGS="-O3" ./configure --prefix=/opt/SU2-4.0.1 --enable-mpi --with-cc=`which mpicc` --with-cxx=`which mpic++` --with-CGNS-lib=/opt/cgns-3.1.4/lib --with-CGNS-include=/opt/cgns-3.1.4/include --with-HDF5-lib=/opt/hd5/lib --with-HDF5-include=/opt/hd5/include --with-SZIP-lib=/opt/szip-2.1/lib --with-SZIP-include=/opt/szip-2.1/include --with-ZLIB-lib=/opt/zlib-1.2.8/lib --with-ZLIB-include=/opt/zlib-1.2.8/include make -j 4 make install Note: Although I had installed the Mutation++ package, I did not enabled it with my SU2 installation because... I forgot that I had installed it ! |
|
Tags |
su2 make error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pointwise-SU2 joint webinar (April 29th) and SU2 v3.1.0 new release | fpalacios | SU2 News & Announcements | 1 | April 30, 2014 03:40 |
Official release of SU2 V3.0 and SU2 Educational V1.0 | fpalacios | SU2 News & Announcements | 2 | January 22, 2014 06:28 |
SU2 suite has moved to GitHub! | fpalacios | SU2 News & Announcements | 0 | August 12, 2013 03:07 |
Welcome to the Stanford University Unstructured (SU2) forum! | economon | SU2 | 0 | January 7, 2013 03:48 |
New SU2 Forum Opened at CFD Online | pete | Site News & Announcements | 0 | January 5, 2013 18:59 |