|
[Sponsors] |
[foam-extend.org] OpenFOAM-1.6-ext on Ubuntu 12.04 install errors |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 2, 2012, 13:28 |
OpenFOAM-1.6-ext on Ubuntu 12.04 install errors
|
#1 |
Senior Member
Ben K
Join Date: Feb 2010
Location: Ottawa, Canada
Posts: 140
Rep Power: 19 |
Hi, I've been trying to install the latest git version of OpenFOAM-1.6-ext on a clean Ubuntu 12.04 distro, but I'm having some problems.
I was able to install everything in the ThirdParty (via rpm) and didn't run into any errors, but I get a bunch of errors (internal compiler errors) that I don't understand when doing ./Allwmake. Some of these errors are: Code:
In file included from /usr/include/c++/4.6/algorithm:63:0, from lnInclude/UList.C:33, from lnInclude/UList.H:443, from lnInclude/List.H:44, from lnInclude/boolList.H:37, from lnInclude/PrimitivePatch.H:55, from lnInclude/primitivePatch.H:36, from lnInclude/polyPatch.H:52, from meshes/polyMesh/polyPatches/derived/cohesive/cohesivePolyPatch.H:41, from meshes/polyMesh/polyPatches/derived/cohesive/cohesivePolyPatch.C:27: /usr/include/c++/4.6/bits/stl_algo.h: In function ‘void std::__inplace_stable_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = int*, _Compare = Foam::UList<int>::less]’: /usr/include/c++/4.6/bits/stl_algo.h:3488:5: internal compiler error: in dwarf2out_frame_debug_expr, at dwarf2out.c:2556 Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions. SOURCE=meshes/polyMesh/polyBoundaryMesh/polyBoundaryMeshEntries.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/ben/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/ben/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/polyBoundaryMeshEntries.o SOURCE=meshes/ProcessorTopology/commSchedule.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/ben/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/ben/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/commSchedule.o SOURCE=meshes/polyMesh/globalMeshData/globalMeshData.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/ben/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/ben/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/globalMeshData.o The bug is not reproducible, so it is likely a hardware or OS problem. make: *** [Make/linuxGccDPOpt/cohesivePolyPatch.o] Error 1 make: *** Waiting for unfinished jobs.... + decompositionMethods/AllwmakeLnInclude + wmakeLnInclude decompositionMethods + wmakeLnInclude metisDecomp + wmakeLnInclude parMetisDecomp + wmakeLnInclude scotchDecomp + decompositionMethods/Allwmake + wmakeLnInclude decompositionMethods + wmake libso scotchDecomp Code:
home/ben/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/ben/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/OBJsurfaceFormatRunTime.o /tmp/ccZVn3cW.s: Assembler messages: /tmp/ccZVn3cW.s:36323: Error: unknown pseudo-op: `.ulebq28' make: *** [Make/linuxGccDPOpt/GTSsurfaceFormatRunTime.o] Error 1 make: *** Waiting for unfinished jobs.... + wmake libso meshTools Making dependency list for source file cellClassification/cellClassification.C Making dependency list for source file cellClassification/cellInfo.C Making dependency list for source file cellQuality/cellQuality.C Making dependency list for source file cellDist/cellDistFuncs.C Making dependency list for source file cellDist/patchWave/patchWave.C Code:
SOURCE=fields/fvPatchFields/basic/sliced/slicedFvPatchFields.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/ben/OpenFOAM/OpenFOAM-1.6-ext/src/triSurface/lnInclude -I/home/ben/OpenFOAM/OpenFOAM-1.6-ext/src/meshTools/lnInclude -IlnInclude -I. -I/home/ben/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/ben/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/slicedFvPatchFields.o g++: internal compiler error: Segmentation fault (program as) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions. make: *** [Make/linuxGccDPOpt/fixedValueFvPatchFields.o] Error 4 make: *** Waiting for unfinished jobs.... Also, I haven't installed a new openfoam version in a while and I'm not too sure what to do with the etc/prefs.sh file. After renaming prefs.sh-EXAMPLE to prefs.sh and then sourcing etc/bashrc, I get a print out of some environment variables, some of which seem to be set and some of which aren't: Code:
Environment variables defined for OpenMPI: OPENMPI_BIN_DIR : /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linuxGccDPOpt/bin OPENMPI_LIB_DIR : /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linuxGccDPOpt/lib OPENMPI_INCLUDE_DIR : /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linuxGccDPOpt/include OPENMPI_COMPILE_FLAGS : -I/home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linuxGccDPOpt/include -pthread OPENMPI_LINK_FLAGS : -pthread -L/home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linuxGccDPOpt/lib -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl MPI_HOME : /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linuxGccDPOpt MPI_ARCH_PATH : /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linuxGccDPOpt OPAL_PREFIX : /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linuxGccDPOpt PINC : -I/home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linuxGccDPOpt/include -pthread PLIBS : -pthread -L/home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linuxGccDPOpt/lib -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl Sourcing: /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/mesquite-2.1.2/platforms/linuxGccDPOpt/etc/mesquite-2.1.2.sh MESQUITE_DIR is initialized to: /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/mesquite-2.1.2/platforms/linuxGccDPOpt Sourcing: /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/metis-5.0pre2/platforms/linuxGccDPOpt/etc/metis-5.0pre2.sh METIS_DIR is initialized to: /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/metis-5.0pre2/platforms/linuxGccDPOpt Sourcing: /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMetis-3.1.1/platforms/linuxGccDPOpt/etc/ParMetis-3.1.1.sh PARMETIS_DIR is initialized to: /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMetis-3.1.1/platforms/linuxGccDPOpt Sourcing: /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMGridGen-1.0/platforms/linuxGccDPOpt/etc/ParMGridGen-1.0.sh PARMGRIDGEN_DIR is initialized to: /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMGridGen-1.0/platforms/linuxGccDPOpt LIBCCMIO_DIR is initialized to: Sourcing: /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/scotch-5.1.10b/platforms/linuxGccDPOpt/etc/scotch-5.1.10b.sh SCOTCH_DIR is initialized to: /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/scotch-5.1.10b/platforms/linuxGccDPOpt Sourcing: /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/cmake-2.8.8/platforms/linuxGccDPOpt/etc/cmake-2.8.8.sh CMAKE_DIR is initialized to: /home/ben/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/cmake-2.8.8/platforms/linuxGccDPOpt M4_DIR is initialized to: BISON_DIR is initialized to: FLEX_DIR is initialized to: ZOLTAN_DIR is initialized to: PYTHON_DIR is initialized to: QT_DIR is initialized to: PARAVIEW_DIR is initialized to: Any tips would be much appreciated! |
|
June 6, 2012, 20:28 |
|
#2 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Ben,
Well, you maybe missed the following error message on the first output box you've posted: Quote:
I suggest two things:
But it's also possible that's a problem with the hard-drive or that your Ubuntu installation is missing a beat somehow, either because of a bad install or because it's not fully compatible with your machine. And it could also be because the CPU or memory is running too hot! Good luck! Bruno
__________________
|
||
July 2, 2012, 12:52 |
|
#3 |
New Member
Hugues Chratiart
Join Date: Jul 2012
Posts: 3
Rep Power: 14 |
Hi everybody,
I'm trying to install OpenFOAM-1.6-ext on my computer with distribution Ubuntu 12.04 (32 bits) but I couldn't solve a problem in stage 3. I'm following these instructions : http://openfoam-extend.git.sourcefor...3472fd1ef579fa Here is the error I get (at the end of the code): Code:
This system rpm command: rpm --force-debian ======================================== Starting ThirdParty AllMake: Stage3 ======================================== Package name : metis-5.0pre2 Package URL : http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/OLD/metis-5.0pre2.tar.gz RPM spec file name: metis-5.0pre2.spec Additional flags : Updating the ThirdParty environment variables before building package metis-5.0pre2 Package metis-5.0pre2 is already installed Done installing package Package name : ParMGridGen-1.0 Package URL : http://www.mgnet.org/mgnet/Codes/parmgridgen/ParMGridGen-1.0.tar.gz RPM spec file name: ParMGridGen-1.0.spec Additional flags : Updating the ThirdParty environment variables before building package ParMGridGen-1.0 Package ParMGridGen-1.0 is already installed Done installing package Package name : libccmio-2.6.1 Package URL : https://wci.llnl.gov/codes/visit/3rd_party/libccmio-2.6.1.tar.gz RPM spec file name: libccmio-2.6.1.spec Additional flags : Updating the ThirdParty environment variables before building package libccmio-2.6.1 Making package libccmio-2.6.1 using RPM. Building package libccmio-2.6.1 using SPEC file : libccmio-2.6.1.spec. Optional args: Exécution_de(%prep): /bin/sh -e /home/utilisateur/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.oaSIgG + umask 022 + cd /home/utilisateur/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD + cd /home/utilisateur/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD + rm -rf libccmio-2.6.1 + /bin/gzip -dc+ home/utilisateur/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/SOURCES/libccmio-2.6.1.tar.gz /bin/tar -xf - + STATUS=0 + [ 0 -ne 0 ] + cd libccmio-2.6.1 + echo Patch #0 (libccmio-2.6.1.patch_0): Patch #0 (libccmio-2.6.1.patch_0): + /bin/cat -s -p1 --fuzz=0 + exit 0 Exécution_de(%build): /bin/sh -e /home/utilisateur/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.JuDrlx + umask 022 + cd /home/utilisateur/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD + cd libccmio-2.6.1 + [ -n gcc ] + export CC=gcc + [ -n g++ ] + export CXX=g++ + [ -n ] + [ -n ] + [ -n ] + [ -z 2 ] + unset RELEASE + unset DEBUG + unset STATIC + unset SHARED + [ -d libadf ] + cd libadf + RELEASE=1 SHARED=1 make -f Makefile.qmake all ..//config/runqmake ../ \ -o Makefile.adf adf.pro 2>&1 | tee qmake.vars ..//config/runqmake: line 47: /home/utilisateur/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/libccmio-2.6.1/libadf/..//config/unknown/qmake: No such file or directory make[1]: Entering directory `/home/utilisateur/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/libccmio-2.6.1/libadf' make[1]: *** No rule to make target `/u/xeona04/people/prewett/src/libccmio/config/linux64_2.4-x86-glibc_2.2.5/qmake.conf', needed by `Makefile.adf'. Stop. make[1]: Leaving directory `/home/utilisateur/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/libccmio-2.6.1/libadf' make: *** [all] Error 2 error: bad output status for /home/utilisateur/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.JuDrlx (%build) |
|
July 3, 2012, 04:57 |
|
#4 | |
Senior Member
|
Quote:
do you follow http://openfoam-extend.git.sourcefor...cb6bbd;hb=HEAD |
||
July 3, 2012, 13:59 |
|
#5 |
New Member
Hugues Chratiart
Join Date: Jul 2012
Posts: 3
Rep Power: 14 |
Indeed, it seemed there was no difference between 64 and 32 bits in this installation process.
|
|
July 19, 2012, 18:45 |
|
#6 |
New Member
Hugues Chratiart
Join Date: Jul 2012
Posts: 3
Rep Power: 14 |
This was solved with this new installation process :
http://openfoam-extend.git.sourcefor...02de56;hb=HEAD |
|
July 27, 2012, 05:27 |
errors in install openfoam 1.6 ext to ubuntu 12.04 32 bit
|
#7 |
New Member
Sabrinho Gonzalez
Join Date: Nov 2009
Posts: 5
Rep Power: 17 |
Hi everyone,
I am trying to install openfoam-1.6-ext to ubuntu 12.04 32 bit (upgraded from 11.10). I am following the procedure given at http://openfoam-extend.git.sourcefor...02de56;hb=HEAD at line 86 I got the error ------------------------ bash: /opt/OpenFOAM-1.6-ext/bin/foamEtcFile: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/etc/settings.sh: No such file or directory bash: /opt/OpenFOAM-1.6-ext/etc/aliases.sh: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /opt/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory ------------------------ I thought that might not be so important and continued and at line 91, I got ------------------------ bash: cd: /opt/OpenFOAM-1.6-ext/ThirdParty: No such file or directory ------------------------ before continuing further I would like to ask what to do? I have checked the /opt/ folder but nothing exists there. I could not copy the "OpenFOAM-1.6-ext" folder directly from /home/spam3c/OpenFOAM/ to /opt/ I am a new user in linux and openfoam. Sorry for the dummy questions that i may ask Thanks for the comments and help Last edited by spam3c; July 27, 2012 at 06:49. |
|
July 27, 2012, 08:56 |
|
#8 | |
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22 |
The instructions provided assume that your installation directory is located under ~/OpenFOAM.
You are obviously installing 1.6-ext under /opt, so you have to expect some adjustments. Please check the "user editable" section of your file etc/bashrc. The variable 'foamInstall' is the one you need to adjust. This necessary adjustment, and others, are profusely documented on this Forum and on various wikis all over the Web. Next time, just supply your error messages to Google for some magic... Martin Quote:
|
||
July 27, 2012, 09:07 |
|
#9 |
New Member
Sabrinho Gonzalez
Join Date: Nov 2009
Posts: 5
Rep Power: 17 |
Thanks for the reply and google advice
Surely, I use a lot and it makes me lost sometimes. After following the previous lines in the given procedure The openfoam files are stored in this folder /home/spam3c/OpenFOAM/OpenFOAM-1.6-ext and the /home/spam3c/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc file has the following part which I guess it tries to install to my home directory but not to /opt/openfoam... where my previous installation of openfoam-2.1.0 is there. ################################################## ############################# # USER EDITABLE PART # # either set $FOAM_INST_DIR before sourcing this file or set # $foamInstall below to where OpenFOAM is installed # # Location of FOAM installation # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ foamInstall=$HOME/$WM_PROJECT # foamInstall=~$WM_PROJECT # foamInstall=/usr/local/$WM_PROJECT # foamInstall=/opt/$WM_PROJECT # foamInstall=/usr/lib # # END OF (NORMAL) USER EDITABLE PART ################################################## ############################## Still I get the same error, I am confused. Thanks |
|
July 28, 2012, 13:19 |
|
#10 | |
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22 |
Basically, it looks like you are still sourcing your OF 2.1.0 environment prior to initializing your installation of 1.6-ext.
Since both installations are sharing some common basic environment variables, your 1.6-ext initialization file is looking for some files under your 2.1.0 installation, hence the error messages. Make sure you are not activating OF from your $HOME configuration files, like from your ~/.profile or ~/.bashrc. This is a bad idea when you need to switch between various OF versions. Martin Quote:
|
||
July 30, 2012, 03:58 |
Official build instructions not working for new 12.04 install
|
#11 |
Member
Karl
Join Date: Jan 2011
Posts: 36
Rep Power: 15 |
I am not sure why, but the script from Sourceforge does not result in a working build of 1.6-ext on a fresh 12.04 Ubuntu install. Third Party script #4 gives errors, and the final ./Allwmake appears to go very well until yPlusRAS (see below). I would appreciate a hint as I have now burned up at least a week of evenings and a weekend trying to get this working. I am hampered by not being able to understand the code enough to figure out the specific problem.
I reinstalled Ubuntu now and it will not work on either the 3.2.0.23, 3.2.0.26 or 3.2.0.27 kernels. So I suppose it has nothing to do with the kernel. I kept my old home folder but removed the OpenFOAM directory entirely and re-cloned it etc. per the instructions. My environment variables seem OK: karl@karl-Ubuntu-CFD:~/OpenFOAM/OpenFOAM-1.6-ext$ . ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc Sourcing: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/etc/settings.sh Environment variables defined for OpenMPI: OPENMPI_BIN_DIR : /usr/bin OPENMPI_LIB_DIR : /usr/lib/openmpi/lib OPENMPI_INCLUDE_DIR : /usr/lib/openmpi/include /usr/lib/openmpi/include/openmpi OPENMPI_COMPILE_FLAGS : -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread OPENMPI_LINK_FLAGS : -pthread -L/usr/lib/openmpi/lib -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl MPI_HOME : /usr MPI_ARCH_PATH : /usr OPAL_PREFIX : /usr PINC : -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread PLIBS : -pthread -L/usr/lib/openmpi/lib -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl Sourcing: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/mesquite-2.1.2/platforms/linux64Gcc46DPOpt/etc/mesquite-2.1.2.sh MESQUITE_DIR is initialized to: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/mesquite-2.1.2/platforms/linux64Gcc46DPOpt Sourcing: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/metis-5.0pre2/platforms/linux64Gcc46DPOpt/etc/metis-5.0pre2.sh METIS_DIR is initialized to: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/metis-5.0pre2/platforms/linux64Gcc46DPOpt Sourcing: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMetis-3.1.1/platforms/linux64Gcc46DPOpt/etc/ParMetis-3.1.1.sh PARMETIS_DIR is initialized to: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMetis-3.1.1/platforms/linux64Gcc46DPOpt Sourcing: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMGridGen-1.0/platforms/linux64Gcc46DPOpt/etc/ParMGridGen-1.0.sh PARMGRIDGEN_DIR is initialized to: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMGridGen-1.0/platforms/linux64Gcc46DPOpt Sourcing: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/libccmio-2.6.1/platforms/linux64Gcc46DPOpt/etc/libccmio-2.6.1.sh LIBCCMIO_DIR is initialized to: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/libccmio-2.6.1/platforms/linux64Gcc46DPOpt Sourcing: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/scotch-5.1.10b/platforms/linux64Gcc46DPOpt/etc/scotch-5.1.10b.sh SCOTCH_DIR is initialized to: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/scotch-5.1.10b/platforms/linux64Gcc46DPOpt Sourcing: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/cmake-2.8.8/platforms/linux64Gcc46DPOpt/etc/cmake-2.8.8.sh CMAKE_DIR is initialized to: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/cmake-2.8.8/platforms/linux64Gcc46DPOpt M4_DIR is initialized to: BISON_DIR is initialized to: FLEX_DIR is initialized to: ZOLTAN_DIR is initialized to: PYTHON_DIR is initialized to: Sourcing: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/qt-everywhere-opensource-src-4.7.4/platforms/linux64Gcc46DPOpt/etc/qt-everywhere-opensource-src-4.7.4.sh QT_DIR is initialized to: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/qt-everywhere-opensource-src-4.7.4/platforms/linux64Gcc46DPOpt Sourcing: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParaView-3.12.0/platforms/linux64Gcc46DPOpt/etc/ParaView-3.12.0.sh PARAVIEW_DIR is initialized to: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParaView-3.12.0/platforms/linux64Gcc46DPOpt Sourcing: /home/karl/OpenFOAM/OpenFOAM-1.6-ext/etc/aliases.sh karl@karl-Ubuntu-CFD:~/OpenFOAM/OpenFOAM-1.6-ext$ I looked through the third party logs and it seems that #4 is where the trouble begins. It completes, but the final ./Allwmake script hangs up reliably on the incompressible yPlusRAS: Making dependency list for source file yPlusRAS.C g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/meshTools/lnInclude -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/turbulenceModels -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/turbulenceModels/incompressible/LES/LESModel -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/turbulenceModels/LES/LESdeltas/lnInclude -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/transportModels -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gcc46DPOpt/yPlusLES.o -L/home/karl/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64Gcc46DPOpt \ -lincompressibleLESModels -lincompressibleTransportModels -lfiniteVolume -lOpenFOAM -liberty -ldl -lm -o /home/karl/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linux64Gcc46DPOpt/yPlusLES SOURCE=yPlusRAS.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/meshTools/lnInclude -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/transportModels -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/turbulenceModels -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/wallFunctions/mutWallFunctions -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/thermophysicalModels/basic/lnInclude -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc46DPOpt/yPlusRAS.o g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/meshTools/lnInclude -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/transportModels -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/turbulenceModels -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/turbulenceModels/incompressible/RAS/derivedFvPatchFields/wallFunctions/nutWallFunctions -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/turbulenceModels/compressible/RAS/derivedFvPatchFields/wallFunctions/mutWallFunctions -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/thermophysicalModels/basic/lnInclude -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64Gcc46DPOpt/yPlusRAS.o -L/home/karl/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64Gcc46DPOpt \ -lincompressibleTransportModels -lincompressibleRASModels -lbasicThermophysicalModels -lspecie -lcompressibleRASModels -lfiniteVolume -lmeshTools -lsampling -lOpenFOAM -liberty -ldl -lm -o /home/karl/OpenFOAM/OpenFOAM-1.6-ext/applications/bin/linux64Gcc46DPOpt/yPlusRAS The terminal cursor just keeps blinking indefinitely (>12 hours) at this point and there is no processor or network activity. This is an four core machine building on eight threads. I actually had 1.6-ext working on it not long ago, but a kernel update appeared to kill it. I think the problem is in the fourth ThirdParty build script, which gives me this sort of thing for several pages (see below), even though it completes the script. Is this a problem building Qt? Any input appreciated. Thanks in Advance; I hope I have included enough information to answer the question. Karl g++ -m64 -Wl,--no-undefined -Wl,-O1 -Wl,-rpath,/home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/qt-everywhere-opensource-src-4.7.4/platforms/linux64Gcc46DPOpt/lib -Wl,-rpath,/home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/qt-everywhere-opensource-src-4.7.4/platforms/linux64Gcc46DPOpt/lib -shared -Wl,-soname,libQtSvg.so.4 -o libQtSvg.so.4.7.4 .obj/release-shared/qsvggraphics.o .obj/release-shared/qsvghandler.o .obj/release-shared/qsvgnode.o .obj/release-shared/qsvgstructure.o .obj/release-shared/qsvgstyle.o .obj/release-shared/qsvgfont.o .obj/release-shared/qsvgtinydocument.o .obj/release-shared/qsvgrenderer.o .obj/release-shared/qsvgwidget.o .obj/release-shared/qgraphicssvgitem.o .obj/release-shared/qsvggenerator.o .obj/release-shared/moc_qsvgwidget.o -L/home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/qt-everywhere-opensource-src-4.7.4/lib -lQtGui -L/home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/qt-everywhere-opensource-src-4.7.4/lib -L/usr/X11R6/lib64 -lQtCore -lpthread -lz ln -s libQtSvg.so.4.7.4 libQtSvg.so ln -s libQtSvg.so.4.7.4 libQtSvg.so.4 ln -s libQtSvg.so.4.7.4 libQtSvg.so.4.7 rm -f ../../lib/libQtSvg.so.4.7.4 rm -f ../../lib/libQtSvg.so rm -f ../../lib/libQtSvg.so.4 rm -f ../../lib/libQtSvg.so.4.7 mv -f libQtSvg.so.4.7.4 libQtSvg.so libQtSvg.so.4 libQtSvg.so.4.7 ../../lib/ make[1]: Leaving directory `/home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/qt-everywhere-opensource-src-4.7.4/src/svg' cd src/script/ && make -f Makefile make[1]: Entering directory `/home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/qt-everywhere-opensource-src-4.7.4/src/script' /home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/qt-everywhere-opensource-src-4.7.4/bin/qmake -spec ../../mkspecs/linux-g++-64 -o Makefile script.pro make[1]: Leaving directory `/home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/qt-everywhere-opensource-src-4.7.4/src/script' make[1]: Entering directory `/home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/qt-everywhere-opensource-src-4.7.4/src/script' g++ -c -m64 -fPIC -Wall -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -fno-stack-protector -O2 -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -fPIC -DQT_SHARED -DJSC=QTJSC -Djscyyparse=qtjscyyparse -Djscyylex=qtjscyylex -Djscyyerror=qtjscyyerror -DWTF=QTWTF -DQT_BUILD_SCRIPT_LIB -DQT_NO_USING_NAMESPACE -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DBUILDING_QT__=1 -DWTF_USE_ACCELERATED_COMPOSITING -DNDEBUG -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DNDEBUG -DJS_NO_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-64 -I. -I../../include/QtCore -I../../include -I../3rdparty/javascriptcore/JavaScriptCore -I../3rdparty/javascriptcore -I../3rdparty/javascriptcore/JavaScriptCore/assembler -I../3rdparty/javascriptcore/JavaScriptCore/bytecode -I../3rdparty/javascriptcore/JavaScriptCore/bytecompiler -I../3rdparty/javascriptcore/JavaScriptCore/debugger -I../3rdparty/javascriptcore/JavaScriptCore/interpreter -I../3rdparty/javascriptcore/JavaScriptCore/jit -I../3rdparty/javascriptcore/JavaScriptCore/parser -I../3rdparty/javascriptcore/JavaScriptCore/pcre -I../3rdparty/javascriptcore/JavaScriptCore/profiler -I../3rdparty/javascriptcore/JavaScriptCore/runtime -I../3rdparty/javascriptcore/JavaScriptCore/wrec -I../3rdparty/javascriptcore/JavaScriptCore/wtf -I../3rdparty/javascriptcore/JavaScriptCore/wtf/symbian -I../3rdparty/javascriptcore/JavaScriptCore/wtf/unicode -I../3rdparty/javascriptcore/JavaScriptCore/yarr -I../3rdparty/javascriptcore/JavaScriptCore/API -I../3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders -I../3rdparty/javascriptcore/JavaScriptCore/generated -I../../include/QtScript -I.rcc/release-shared -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/qt-everywhere-opensource-src-4.7.4/src/3rdparty/javascriptcore/WebKit/qt/Api -I../3rdparty/javascriptcore/JavaScriptCore/pcre -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/qt-everywhere-opensource-src-4.7.4/src/3rdparty/javascriptcore/JavaScriptCore/tmp -I../3rdparty/javascriptcore/JavaScriptCore -I../3rdparty/javascriptcore/JavaScriptCore/parser -I../3rdparty/javascriptcore/JavaScriptCore/bytecompiler -I../3rdparty/javascriptcore/JavaScriptCore/debugger -I../3rdparty/javascriptcore/JavaScriptCore/runtime -I../3rdparty/javascriptcore/JavaScriptCore/wtf -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/qt-everywhere-opensource-src-4.7.4/src/script/../3rdparty/javascriptcore/JavaScriptCore/unicode -I../3rdparty/javascriptcore/JavaScriptCore/interpreter -I../3rdparty/javascriptcore/JavaScriptCore/jit -I../3rdparty/javascriptcore/JavaScriptCore/profiler -I../3rdparty/javascriptcore/JavaScriptCore/wrec -I../3rdparty/javascriptcore/JavaScriptCore/API -I../3rdparty/javascriptcore/JavaScriptCore/bytecode -I../3rdparty/javascriptcore/JavaScriptCore/assembler -I../3rdparty/javascriptcore/JavaScriptCore/generated -I. -Iparser -I.moc/release-shared -o obj/release/pcre_compile.o ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp g++ -c -m64 -fPIC -Wall -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -fno-stack-protector -O2 -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -fPIC -DQT_SHARED -DJSC=QTJSC -Djscyyparse=qtjscyyparse -Djscyylex=qtjscyylex -Djscyyerror=qtjscyyerror -DWTF=QTWTF -DQT_BUILD_SCRIPT_LIB -DQT_NO_USING_NAMESPACE -DQLALR_NO_QSCRIPTGRAMMAR_DEBUG_INFO -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DBUILDING_QT__=1 -DWTF_USE_ACCELERATED_COMPOSITING -DNDEBUG -DBUILDING_QT__ -DBUILDING_JavaScriptCore -DBUILDING_WTF -DWTF_USE_JAVASCRIPTCORE_BINDINGS=1 -DWTF_CHANGES=1 -DNDEBUG -DJS_NO_EXPORT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2 -DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-64 -I. -I../../include/QtCore -I../../include -I../3rdparty/javascriptcore/JavaScriptCore -I../3rdparty/javascriptcore -I../3rdparty/javascriptcore/JavaScriptCore/assembler -I../3rdparty/javascriptcore/JavaScriptCore/bytecode -I../3rdparty/javascriptcore/JavaScriptCore/bytecompiler -I../3rdparty/javascriptcore/JavaScriptCore/debugger -I../3rdparty/javascriptcore/JavaScriptCore/interpreter -I../3rdparty/javascriptcore/JavaScriptCore/jit -I../3rdparty/javascriptcore/JavaScriptCore/parser -I../3rdparty/javascriptcore/JavaScriptCore/pcre -I../3rdparty/javascriptcore/JavaScriptCore/profiler -I../3rdparty/javascriptcore/JavaScriptCore/runtime -I../3rdparty/javascriptcore/JavaScriptCore/wrec -I../3rdparty/javascriptcore/JavaScriptCore/wtf -I../3rdparty/javascriptcore/JavaScriptCore/wtf/symbian -I../3rdparty/javascriptcore/JavaScriptCore/wtf/unicode -I../3rdparty/javascriptcore/JavaScriptCore/yarr -I../3rdparty/javascriptcore/JavaScriptCore/API -I../3rdparty/javascriptcore/JavaScriptCore/ForwardingHeaders -I../3rdparty/javascriptcore/JavaScriptCore/generated -I../../include/QtScript -I.rcc/release-shared -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/qt-everywhere-opensource-src-4.7.4/src/3rdparty/javascriptcore/WebKit/qt/Api -I../3rdparty/javascriptcore/JavaScriptCore/pcre -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/qt-everywhere-opensource-src-4.7.4/src/3rdparty/javascriptcore/JavaScriptCore/tmp -I../3rdparty/javascriptcore/JavaScriptCore -I../3rdparty/javascriptcore/JavaScriptCore/parser -I../3rdparty/javascriptcore/JavaScriptCore/bytecompiler -I../3rdparty/javascriptcore/JavaScriptCore/debugger -I../3rdparty/javascriptcore/JavaScriptCore/runtime -I../3rdparty/javascriptcore/JavaScriptCore/wtf -I/home/karl/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/qt-everywhere-opensource-src-4.7.4/src/script/../3rdparty/javascriptcore/JavaScriptCore/unicode -I../3rdparty/javascriptcore/JavaScriptCore/interpreter -I../3rdparty/javascriptcore/JavaScriptCore/jit -I../3rdparty/javascriptcore/JavaScriptCore/profiler -I../3rdparty/javascriptcore/JavaScriptCore/wrec -I../3rdparty/javascriptcore/JavaScriptCore/API -I../3rdparty/javascriptcore/JavaScriptCore/bytecode -I../3rdparty/javascriptcore/JavaScriptCore/assembler -I../3rdparty/javascriptcore/JavaScriptCore/generated -I. -Iparser -I.moc/release-shared -o obj/release/pcre_exec.o ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_exec.cpp ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp: In function 'bool compileBranch(int, int*, unsigned char**, const UChar**, const UChar*, ErrorCode*, int*, int*, CompileData&)': ../3rdparty/javascriptcore/JavaScriptCore/pcre/pcre_compile.cpp:582:18: warning: variable 'tempptr' set but not used [-Wunused-but-set-variable] g++ -c -m64 -fPIC -Wall -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self -fno-stack-protector -O2 -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -fPIC ...etc |
|
July 30, 2012, 10:13 |
|
#12 | |
New Member
Sabrinho Gonzalez
Join Date: Nov 2009
Posts: 5
Rep Power: 17 |
Thanks for the comment, Martin
After that, I have used aliases for the two installations and "allwmake" worked fine except the following error. I got this error when I ran the foamInstallationTest. ------------------ WARNING: gcc version does not match gcc supplied with this release of OpenFOAM Supplied version: 4.3.3 User version : 4.6.3 Minimum required: 4.3.1 gcc 4.6.3 WARNING: Conflicting installations: OpenFOAM settings : /bin/gcc current path : /usr/bin/gcc CRITICAL ERROR ------------------ Somewhere, I have read that this is not an important error and will not affect my openfoam's working. Still, I would like to be sure, and that is why I ask. I have also attached my make.log file. Thanks a lot for your kind help. Quote:
|
||
August 8, 2012, 07:42 |
|
#13 |
Member
Jack
Join Date: Aug 2012
Posts: 47
Rep Power: 14 |
Hi,
I am following the same instructions: http://openfoam-extend.git.sourcefor...cb6bbd;hb=HEAD ...and I get the same problem as atg (it hangs up on the incompressible yplusRAS) atg, I was wondering if you have solved your issue? ...also not all of the initial downloads can be found, (lines 10-20) -> I wondered if this was a major issue? I have had OF-2.1.1 and OF-1.7 on this machine already. I am a relative newcomer to linux and so if there was something I was supposed to do in between installations you can just about guarantee I won't have done it! (except for sudo apt-get remove). Or anyone, I was wondering if there is something I am supposed to do prior to this installation process? Thank you for any help you can give me! Jack |
|
August 12, 2012, 00:49 |
|
#14 |
Member
Karl
Join Date: Jan 2011
Posts: 36
Rep Power: 15 |
Sorry Jack,
I never did resolve that issue. It's too bad, because it actually worked for me before one of the latest Ubuntu updates seemed to screw it up. One of the first instructions is to sudo apt-get update your Ubuntu installation, so it leaves the OF package vulnerable to any changes Ubuntu might implement which create problems for the installer instructions. Fortunately there are a bunch of .iso images out there that will get you up and running in no time. I used one from the OF workshop 7 with various versions installed. It is old 10.04 Ubuntu but no matter. You can run it from the USB or install it. I think this should work: http://sourceforge.net/projects/open...x.iso/download Now if I can only get myself to an actual workshop somehow... |
|
August 13, 2012, 13:08 |
|
#15 | |
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22 |
You can easily forget about 'foamInstallationTest'.
Martin Quote:
|
||
August 13, 2012, 13:20 |
|
#16 | |
Senior Member
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22 |
@yPlusRAS:
On my up-to-date Ubuntu 12.04 32-bits machine, with merely 1GB of RAM, this application compiles under 7s. Out of curiosity, how much memory do you have on your system? What is the value of this environment variable $WM_NCOMPPROCS ? As for the rest of your logs, those are normal compilation output messages, not error messages. For your information, AllMake.stage4 is for compiling QT and Paraview. This has nothing to do with yPlusRAS. Martin Quote:
|
||
August 28, 2012, 05:52 |
|
#17 | |
Senior Member
Join Date: Jun 2011
Posts: 163
Rep Power: 15 |
Quote:
when I run . ~/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc I encounter bellow error what should I do ? bash: /home/aminiyasser/OpenFOAM/OpenFOAM-1.6-ext/bin/foamEtcFile: Permission denied bash: /home/aminiyasser/OpenFOAM/OpenFOAM-1.6-ext/bin/foamCleanPath: Permission denied bash: /home/aminiyasser/OpenFOAM/OpenFOAM-1.6-ext/bin/foamCleanPath: Permission denied bash: /home/aminiyasser/OpenFOAM/OpenFOAM-1.6-ext/bin/foamCleanPath: Permission denied bash: /home/aminiyasser/OpenFOAM/OpenFOAM-1.6-ext/bin/foamCleanPath: Permission denied bash: /home/aminiyasser/OpenFOAM/OpenFOAM-1.6-ext/bin/foamCleanPath: Permission denied bash: /home/aminiyasser/OpenFOAM/OpenFOAM-1.6-ext/bin/foamCleanPath: Permission denied Best Regards |
||
August 28, 2012, 06:37 |
|
#18 |
Senior Member
|
Hi,
did you try to change the permission via chmod (hope you have got the rights to do so!?) user: 7=excute&read&write group: 5=excute&read other: 1=excute sudo chmod -R 751 /home/aminiyasser/OpenFOAM/OpenFOAM-1.6-ext/bin |
|
August 30, 2012, 16:25 |
|
#19 | |
Member
Karl
Join Date: Jan 2011
Posts: 36
Rep Power: 15 |
I am not certain, but I think the problem I was having may have been due to the fact that this command (from the instructions) no longer appears to work:
sudo apt-get install zlib1g-dev So if one uses the "all in one" command: # You can also install everything at once: sudo apt-get install git flex bison rpm g++ zlib1g-dev binutils-dev \ openmpi-bin libopenmpi-dev libxext-dev libxt-dev libxrender-dev \ libstdc++5 libgl1-mesa-dev libglu1-mesa-dev one can miss the fact that one package did not install properly. I downloaded it and installed it manually: http://packages.ubuntu.com/dapper/zlib1g-dev Now stage 4 builds again. Of course I could be totally wrong; if I knew anything I would not be asking for help here. Thanks for your reply. To answer your question, I tried it twice on two different machines, one with four core Xeon E3-1280 and 16Gb RAM, and one Core 2 Duo with 4Gb Ram, set to varying numbers of compiler processors. Both were failing at the same place. Now it is working on the Core2Duo machine in 32 bit again. I am debating whether to mess with the working 10.04 installation on the faster machine, as I have cufflink working over there now and it just doesn't seem worth the trouble. Quote:
|
||
August 30, 2012, 17:15 |
|
#20 | |
Member
Jack
Join Date: Aug 2012
Posts: 47
Rep Power: 14 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
Environment errors with .deb install and ubuntu 13.04 64 bit | jonathanbyrn | OpenFOAM Installation | 14 | September 26, 2013 06:22 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |