|
[Sponsors] |
June 8, 2011, 07:31 |
OpenFoam 1.6-ext - Install error
|
#1 |
Member
Stefan
Join Date: Jun 2009
Posts: 67
Rep Power: 16 |
Hello,
I want to install OpenFOAM on Suse Enterprise 11. I started with ThirdParty stage 0 and all is OK. Stage 1 shows me the following message: Code:
This system rpm command: rpm ======================================== Starting ThirdParty AllMake: Stage1 ======================================== Updating the ThirdParty environment variables before building package cmake-2.8.3 Making package cmake-2.8.3 using RPM. Building package cmake-2.8.3 Executing(%prep): /bin/sh -e /home/preibisch/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.57823 Executing(%build): /bin/sh -e /home/preibisch/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.57823 --------------------------------------------- CMake 2.8.3, Copyright 2000-2009 Kitware, Inc. C compiler on this system is: gcc -m64 -fPIC --------------------------------------------- Error when bootstrapping CMake: Cannot find appropriate C++ compiler on this system. Please specify one using environment variable CXX. See cmake_bootstrap.log for compilers attempted. --------------------------------------------- Log of errors: /home/preibisch/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Bootstrap.cmk/cmake_bootstrap.log --------------------------------------------- RPM build errors: Installing package: cmake-2.8.3 Uninstalling cmake-2.8.3 using RPM: cmake-2.8.3-linux64GccDPOpt.x86_64 Installing cmake-2.8.3 using RPM file: /home/preibisch/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/cmake-2.8.3-linux64GccDPOpt.x86_64.rpm Done installing package cmake-2.8.3 ======================================== Done ThirdParty AllMake: Stage1 ======================================== thanks for your help Preibie |
|
June 8, 2011, 09:52 |
|
#2 | |
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22 |
This message should ring a bell:
Error when bootstrapping CMake: Cannot find appropriate C++ compiler on this system. Basically, you have gcc installed, but not g++, the GNU C++ compiler. On OpenSUSE 11, the GNU g++ compiler is made available from a different RPM than the gcc compiler. This is probably similar for SuSE Enterprise 11 Martin Quote:
|
||
June 8, 2011, 10:39 |
|
#3 |
Member
Stefan
Join Date: Jun 2009
Posts: 67
Rep Power: 16 |
now the bell is ringing!
you are right I installed g++ |
|
June 9, 2011, 11:52 |
|
#4 |
New Member
Join Date: Jun 2011
Posts: 13
Rep Power: 14 |
Hello,
I am trying to install OpenFoam-1.6-ext on a Mac. I found quite a few useful links, but am stuck with the following error: When doing Allmake in Thirdparty, libccmio-2.6.1 does not compile properly. All the rest went fine (stages 0, 1, 2, 4 and the rest of stage 3) I think the source of my problem is given by the following line: Code:
+ make -f Makefile.qmake all ..//config/runqmake ../ \ -o Makefile.adf adf.pro 2>&1 | tee qmake.vars System type i386-apple-darwin10.7.0 not supported The error then keeps repeating (I am attaching the screen output in case it may be more helpful). What does that exactly mean? Should I download another version of libccmio? Also ... once I resolve the issue of libccmio, should I clean all and re-make? Thank you in advance! |
|
June 9, 2011, 17:22 |
|
#5 |
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22 |
Hello,
The fix to your problem is available under the branch "hotfix/ThirdParty_scripts" on the git repo for 1.6-ext. May I recommend you report such problem for 1.6-ext using the Bug Tracking system for OF-1.6-ext? https://sourceforge.net/apps/mantisb..._view_page.php The Forum is not such a great place for bug reports. I personally do not take the time to read every messages on the Forum, but every time you log in a bug report over the Bug tracking system for 1.6-ext, many developers (myself included) will receive a nice Email notification. This is much more efficient. Still no guarantee your bug will get fixed quickly enough for you, but at least, your bug report might not get lost in the 100s of messages posted every week on the OpenFOAM Forum. Martin |
|
April 10, 2012, 11:42 |
Similar error
|
#6 |
Member
Timo K.
Join Date: Feb 2010
Location: University of Stuttgart
Posts: 66
Rep Power: 16 |
Hello,
I also have a problem to compile cmake on a Cray machine. Has anybody an idea? I use CC-compiler. The error is in ThirdParty/AllMake.stage1: This system rpm command: rpm ======================================== Starting ThirdParty AllMake: Stage1 ======================================== Updating the ThirdParty environment variables before building package cmake-2.8.3 Using Cray XT compiler drivers Making package cmake-2.8.3 using RPM. Building package cmake-2.8.3 Executing(%prep): /bin/sh -e /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/tmp/rpm-tmp.73473 Executing(%build): /bin/sh -e /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/tmp/rpm-tmp.12336 --------------------------------------------- CMake 2.8.3, Copyright 2000-2009 Kitware, Inc. C compiler on this system is: cc -fPIC C++ compiler on this system is: CC -fPIC Makefile processor on this system is: gmake CC is GNU compiler CC has STL in std:: namespace CC has ANSI streams CC has streams in std:: namespace CC has sstream CC has operator!=(string, char*) CC has stl iterator_traits CC has standard template allocator CC has allocator<>::rebind<> CC does not have non-standard allocator<>::max_size argument CC has stl containers supporting allocator objects CC has header cstddef CC requires template friends to use <> CC supports member templates CC has standard template specialization syntax CC has argument dependent lookup CC has struct stat with st_mtim member CC has ios::binary openmode CC has ANSI for scoping --------------------------------------------- CC -fPIC -I/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Bootstrap.cmk -I/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Source -I/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Bootstrap.cmk -c /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Source/cmStandardIncludes.cxx -o cmStandardIncludes.o CC -fPIC -I/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Bootstrap.cmk -I/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Source -I/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Bootstrap.cmk -c /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Source/cmake.cxx -o cmake.o .... cc -fPIC -I/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Bootstrap.cmk -I/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Source -I/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -DKWSYS_STRING_C -c /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Source/kwsys/String.c -o String.o cc -fPIC -I/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Bootstrap.cmk -I/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Source -I/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Source/kwsys/System.c -o System.o CC -fPIC -I/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Bootstrap.cmk -I/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Source -I/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/cmake-2.8.3/Bootstrap.cmk cmStandardIncludes.o cmake.o cmakemain.o cmakewizard.o cmCommandArgumentLexer.o cmCommandArgumentParser.o cmCommandArgumentParserHelper.o cmDefinitions.o cmDepends.o cmDependsC.o cmDocumentationFormatter.o cmDocumentationFormatterText.o cmPolicies.o cmProperty.o cmPropertyMap.o cmPropertyDefinition.o cmPropertyDefinitionMap.o cmMakeDepend.o cmMakefile.o cmExportFileGenerator.o cmExportInstallFileGenerator.o cmInstallDirectoryGenerator.o cmGeneratedFileStream.o cmGeneratorExpression.o cmGlobalGenerator.o cmLocalGenerator.o cmInstallGenerator.o cmInstallExportGenerator.o cmInstallFilesGenerator.o cmInstallScriptGenerator.o cmInstallTargetGenerator.o cmScriptGenerator.o cmSourceFile.o cmSourceFileLocation.o cmSystemTools.o cmTestGenerator.o cmVersion.o cmFileTimeComparison.o cmGlobalUnixMakefileGenerator3.o cmLocalUnixMakefileGenerator3.o cmMakefileExecutableTargetGenerator.o cmMakefileLibraryTargetGenerator.o cmMakefileTargetGenerator.o cmMakefileUtilityTargetGenerator.o cmBootstrapCommands.o cmCommands.o cmTarget.o cmTest.o cmCustomCommand.o cmDocumentVariables.o cmCacheManager.o cmListFileCache.o cmComputeLinkDepends.o cmComputeLinkInformation.o cmOrderDirectories.o cmComputeTargetDepends.o cmComputeComponentGraph.o cmExprLexer.o cmExprParser.o cmExprParserHelper.o cmListFileLexer.o Directory.o Glob.o RegularExpression.o SystemTools.o ProcessUNIX.o String.o System.o -o cmake --------------------------------------------- Error when bootstrapping CMake: Problem while running initial CMake --------------------------------------------- RPM build errors: Installing package: cmake-2.8.3 Uninstalling cmake-2.8.3 using RPM: cmake-2.8.3-crayxeGccDPOpt.x86_64 Installing cmake-2.8.3 using RPM file: /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/RPMS/x86_64/cmake-2.8.3-crayxeGccDPOpt.x86_64.rpm Done installing package cmake-2.8.3 ======================================== Done ThirdParty AllMake: Stage1 ======================================== |
|
May 10, 2012, 03:16 |
|
#7 |
Member
Timo K.
Join Date: Feb 2010
Location: University of Stuttgart
Posts: 66
Rep Power: 16 |
Hello everybody,
I'm still trying to compile ThirdParty, with gcc.4.6.3 and I want to use CC-Compiler. In stage 3 I have problems with Mesquite and Scotch. Has anybody an idea to fix this problem? Best, Timo + umask 022 + cd /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD + cd /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD + rm -rf mesquite-2.1.2 + /usr/bin/gzip -dc /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/SOURCES/mesquite-2.1.2.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd mesquite-2.1.2 ++ /usr/bin/id -u + '[' 28938 = 0 ']' ++ /usr/bin/id -u + '[' 28938 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 + umask 022 + cd /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD + /bin/rm -rf /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/mesquite-2.1.2-root ++ dirname /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/mesquite-2.1.2-root + /bin/mkdir -p /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD + /bin/mkdir /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/mesquite-2.1.2-root + cd mesquite-2.1.2 + '[' -n cc ']' + export CC=cc + CC=cc + '[' -n CC ']' + export CXX=CC + CXX=CC + '[' -n -fPIC ']' + export CFLAGS=-fPIC + CFLAGS=-fPIC + '[' -n -fPIC ']' + export CXXFLAGS=-fPIC + CXXFLAGS=-fPIC + '[' -n '' ']' + ./configure --prefix=/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/packages/mesquite-2.1.2/platforms/crayxeGccDPOpt --enable-release --disable-debug-assertions --disable-igeom --disable-imesh --disable-irel --enable-shared --without-cppunit --enable-trap-fpe --disable-function-timers configure: error: in `/zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/mesquite-2.1.2': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. error: Bad exit status from /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/tmp/rpm-tmp.98179 (%build) Bad exit status from /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/tmp/rpm-tmp.98179 (%build) error: open of /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/RPMS/x86_64/mesquite-2.1.2-crayxeGccDPOpt.x86_64.rpm failed: No such file or directory + umask 022 + cd /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD + cd /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD + rm -rf scotch_5.1.10b + /usr/bin/gzip -dc /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/SOURCES/scotch-5.1.10b.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd scotch_5.1.10b ++ /usr/bin/id -u + '[' 28938 = 0 ']' ++ /usr/bin/id -u + '[' 28938 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (scotch-5.1.10b_patch_0):' + patch -p1 --fuzz=0 -s + exit 0 + umask 022 + cd /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD + /bin/rm -rf /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/scotch-5.1.10b-root ++ dirname /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/scotch-5.1.10b-root + /bin/mkdir -p /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD + /bin/mkdir /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/BUILD/scotch-5.1.10b-root + cd scotch_5.1.10b + '[' -n cc ']' + export CC=cc + CC=cc + '[' -n CC ']' + export CXX=CC + CXX=CC + '[' -n -fPIC ']' + export CFLAGS=-fPIC + CFLAGS=-fPIC + '[' -n -fPIC ']' + export CXXFLAGS=-fPIC + CXXFLAGS=-fPIC + '[' -n '' ']' + cd src + ln -s Make.inc/Makefile.inc.crayxe Makefile.inc + '[' -z 2 ']' + make -j 2 scotch ./dummysizes: error while loading shared libraries: libscicpp_gnu.so.1: cannot open shared object file: No such file or directory make[2]: *** [scotch.h] Error 127 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [scotch] Error 2 make: *** [scotch] Error 2 error: Bad exit status from /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/tmp/rpm-tmp.89659 (%build) Bad exit status from /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/tmp/rpm-tmp.89659 (%build) error: open of /zhome/academic/HLRS/ihs/ihstimok/OpenFOAM/OpenFOAM-1.6-ext/OpenFOAM-1.6-ext-ESM/ThirdParty/rpmBuild/RPMS/x86_64/scotch-5.1.10b-crayxeGccDPOpt.x86_64.rpm failed: No such file or directory |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Native ParaView Reader Bugs | tj22 | ParaView | 270 | January 4, 2016 11:39 |
CGNS Compiling | Diego | Main CFD Forum | 17 | December 21, 2014 01:40 |
ParaView for OF-1.6-ext | Chrisi1984 | OpenFOAM Installation | 0 | December 31, 2010 06:42 |
install openfoam 1.6 on opensuse 11.0 | andresbh | OpenFOAM Installation | 8 | September 30, 2009 00:48 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 14, 2003 23:19 |