CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[foam-extend.org] Error compiling OpenFOAM-1.6-ext

Register Blogs Community New Posts Updated Threads Search

Like Tree6Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2011, 23:47
Default
  #81
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22
cnsidero is on a distinguished road
After a little more digging ...

First I added the '-v' flag to the rpmbuild command in $WM_THIRD_PARTY_DIR/tools/makeThirdPartyFunctionsForRPM to get some more info.

After rerunning AllMake.stage2, the following line output seems to indicate the problem:

Code:
Found '/opt/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILDROOT/openmpi-1.4.3-linux64GccDPOpt.x86_64' in installed files; aborting
After learning a little more about building rpms, this error indicates that the BUILDROOT dir is being included in the files to be added to the RPM - which rpmbuild does not like (here's one of the sites that mention this: http://www.ibm.com/developerworks/library/l-rpm1/).

I checked the openmpi spec file and its set up no different the other third party packages so I'm a bit baffled why only openmpi fails to create the RPMs. Furthermore, no 'openmpi-1.4.3' dir is created in $WM_THIRD_PARTY_DIR/packages, where there are respective dirs for the others. Ultimately, this would be better answered by Martin.

Edit: I thought I'd make a quick note. I'm installing it all in a system dir and not my home dir. Not sure if that could be a/the reason.
cnsidero is offline   Reply With Quote

Old   February 3, 2011, 23:24
Default
  #82
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
Hello Chris,

The very long path you are seeing in the log file is fine. This is not the problem.

> I am running RHEL 6.0 x86_64.

This RedHat operating system is fairly new. The rpm based compilation recipe for the Third Party package was not tested on that system.

I guess something changed with the way rpms are build on RHEL 6.0, or something in the spec files is not general enough. However, according to your post, the fact that all the other Third party packages are successfully being built on the same system is a bit baffling...

I don't have access to a RHEL 6.0 x86_64 system, but maybe I can replicate the problem with the latest version of Fedora.

I know however that all is fine on a Fedora 14 32-bit system. I will check on a 64-bit system, just in case...

Martin

Quote:
Originally Posted by cnsidero View Post
After a little more digging ...

First I added the '-v' flag to the rpmbuild command in $WM_THIRD_PARTY_DIR/tools/makeThirdPartyFunctionsForRPM to get some more info.

After rerunning AllMake.stage2, the following line output seems to indicate the problem:

Code:
Found '/opt/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILDROOT/openmpi-1.4.3-linux64GccDPOpt.x86_64' in installed files; aborting
After learning a little more about building rpms, this error indicates that the BUILDROOT dir is being included in the files to be added to the RPM - which rpmbuild does not like (here's one of the sites that mention this: http://www.ibm.com/developerworks/library/l-rpm1/).

I checked the openmpi spec file and its set up no different the other third party packages so I'm a bit baffled why only openmpi fails to create the RPMs. Furthermore, no 'openmpi-1.4.3' dir is created in $WM_THIRD_PARTY_DIR/packages, where there are respective dirs for the others. Ultimately, this would be better answered by Martin.

Edit: I thought I'd make a quick note. I'm installing it all in a system dir and not my home dir. Not sure if that could be a/the reason.
mbeaudoin is offline   Reply With Quote

Old   February 4, 2011, 11:01
Default
  #83
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22
cnsidero is on a distinguished road
Ya, it is fairly new - I am brave ;-). Actually I looked closer and Paraview was not getting built/installed correctly either. So perhaps there is something different in RHEL 6.0

FWIW, I managed to get 1.6-ext built and installed (not Paraview). In the mean time, I opt'd to use system OpenMPI instead in the provided package. Although this wasn't without it's difficulties. Redhat [I'm guessing] decided to either drop the openmpi-devel package and/or not include the compilation tools (e.g. mpiCC) in their openmpi package. So I had to build a new RPM from the SRPM provided on openmpi.org.

Quote:
Originally Posted by mbeaudoin View Post
Hello Chris,

The very long path you are seeing in the log file is fine. This is not the problem.

> I am running RHEL 6.0 x86_64.

This RedHat operating system is fairly new. The rpm based compilation recipe for the Third Party package was not tested on that system.

I guess something changed with the way rpms are build on RHEL 6.0, or something in the spec files is not general enough. However, according to your post, the fact that all the other Third party packages are successfully being built on the same system is a bit baffling...

I don't have access to a RHEL 6.0 x86_64 system, but maybe I can replicate the problem with the latest version of Fedora.

I know however that all is fine on a Fedora 14 32-bit system. I will check on a 64-bit system, just in case...

Martin
cnsidero is offline   Reply With Quote

Old   February 15, 2011, 07:51
Default
  #84
New Member
 
Marcus Ende
Join Date: Mar 2009
Location: Leipzig
Posts: 4
Rep Power: 17
m_ende is on a distinguished road
Hello Chris,

I've the same problems with OpenMPI under RHEL 6.0. So after tries I found out that the
/usr/lib/rpm/check-buildroot has some problems. I deactivated this script and now the installing works fine.

My way for deactivation was to insert following line in the .spec-file (I tried openmpi-1.5.spec) at the end of the %install section.

echo " PINC : \$PINC"
echo " PLIBS : \$PLIBS"
endif
DOT_CSH_EOF
export QA_SKIP_BUILD_ROOT=1 <== this line was inserted

%clean
rm -rf %{buildroot}

Maybe it helps.

Marcus
m_ende is offline   Reply With Quote

Old   February 15, 2011, 10:49
Default
  #85
Senior Member
 
Martin Beaudoin
Join Date: Mar 2009
Posts: 332
Rep Power: 22
mbeaudoin will become famous soon enough
Hello,

I was able to replicate the problem which is specific to the compilation of openmpi-1.4.3 on RHEL 6.0.

In order to fix the problem, I had to modify the .spec file, but the overall solution is a bit cleaner (I think) than what was done before.

This modification is also solving one of the problem David Boger reported earlier about linking with the openmpi ".la" files. So two fixes for the price of one, ain't bad...

Now I need to test this fix on other platforms just to make sure I am not introducing problems on OpenSUSE or Ubuntu or Fedora or Mac OS X, which obviously would be counterproductive.

Thank you all for your patience.

Martin
mbeaudoin is offline   Reply With Quote

Old   March 6, 2011, 13:08
Default
  #86
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30
akidess will become famous soon enough
I'm trying to compile the extended package using the ThirdParty directory I already have in place for 1.6.x. So far all the errors I hit were simply resolved by modifying prefs.sh to let extend know where to find scotch, metis, etc. I hit the first real roadblock with mesquite.

Mesquite is not included in the original ThirdParty package, so I downloaded the source and did ./configure, ./make without any issues. Yet I still got a lot of errors like the following:
Code:
/home/daniel/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/mesquite-2.1.2/platforms/linux64GccDPOpt/include/Mesquite_all_headers.hpp:33:23: fatal error: MsqIRel.hpp: No such file or directory
The solution is to run wmakeLnInclude in the mesquite directory, and then add mesquite/lnInclude to prefs.sh as the include directory. Then compiling works, but linking fails, because OpenFoam expects to find libmesquite.a instead of the libmsqutil.a built earlier. Fixed easily with a symbolic link, and now I can finally continue building the rest of the extend package
akidess is offline   Reply With Quote

Old   March 15, 2011, 12:09
Default Error when building thirdParty at stage 3
  #87
Member
 
Sebastian Saegeler
Join Date: Nov 2009
Location: Munich
Posts: 70
Rep Power: 17
sebastian is on a distinguished road
Dear all!

I have tried to get OF-1.6-ext run on our campus computer SGI Altix 4700 without any success. To be honest, I am not so deep in the knowlege whith all that so I hope anybody of you can help.

I successfully compiled OF-1.6.x. But as mentioned I am getting stuck with the ext-version.

One prob seems to be the thirdParty package. I am getting errors when executing stage 3. I have generated and attachted a log-file. Please have a look on it and hopefully one of you guys has got an idea what I am doing wrong


Sebastian
Attached Files
File Type: txt log.stage3.txt (77.8 KB, 10 views)
sebastian is offline   Reply With Quote

Old   March 15, 2011, 12:13
Default
  #88
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
are u using icc or gcc? I saw both in your log file
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Old   March 15, 2011, 12:22
Default
  #89
Member
 
Sebastian Saegeler
Join Date: Nov 2009
Location: Munich
Posts: 70
Rep Power: 17
sebastian is on a distinguished road
Hi! I am using icc. Version 11.1
sebastian is offline   Reply With Quote

Old   March 15, 2011, 12:43
Default
  #90
Senior Member
 
Chris Sideroff
Join Date: Mar 2009
Location: Ottawa, ON, CAN
Posts: 434
Rep Power: 22
cnsidero is on a distinguished road
Quote:
Originally Posted by lakeat View Post
are u using icc or gcc? I saw both in your log file
I believe 'gcc' is being used by the make/configure scripts for the original source packages for each component. I don't believe these are controlled by OpenFOAM's specification of the compiler. If you want to change those you'll have to manually modify the config files for each package to use 'icc'.

Specifically about the errors, there are two. First, there are several instances similar to the following:

Code:
ld: ../obj/linux64_2.4-itanium-glibc_2.2.4/release-shared/ADF_internals.o: @gprel relocation against dynamic symbol disk_cache
Upon digging through Intel's compiler notes for IA-64 on Linux, it suggests using the follow compiler options to remedy this:

-i_dynamic -nofor_main

The second:

Code:
make[2]: mpicc: Command not found
Means it can't find the mpi compiler. It's either provided with OpenMPI or MPICH. You're going to have to find out where those are installed and make sure it's included in the PATH.

This will require a little digging so you're going to have to "get dirty" to straighten it out or possibly consult with someone internally who can work with you.

Last edited by cnsidero; March 15, 2011 at 18:41.
cnsidero is offline   Reply With Quote

Old   March 21, 2011, 12:57
Default Floating Point Exception
  #91
Member
 
Sebastian Saegeler
Join Date: Nov 2009
Location: Munich
Posts: 70
Rep Power: 17
sebastian is on a distinguished road
Hello again. Thanks for your answers.

Finally we made it - and it was really cruel! Fortunately I got some help from an expert of the Leibniz Rechenzentrum in Munich. We had to change a lot to get this new ThirdParty compiled on our system.

After successful compilation without any error I just wanted to start a tutorial. I did the one of rhoPisoFoam/ras und just got an floating point exception!

Create time

Create mesh for time = 0

Reading thermophysical properties

Selecting thermodynamics package hPsiThermo<pureMixture<constTransport<specieThermo <hConstThermo<perfectGas>>>>>

Reading field U

Reading/calculating face flux field phi

Creating turbulence model

Selecting turbulence model type RASModel
Selecting RAS turbulence model kOmegaSST
Floating point exception


The other tutorials I have tested seem to work. But I want to use a solver, written by a collegue and its the same problem ...

I cannot find anything here in the forum, can anybody help please?


Thanks,
Sebastian
sebastian is offline   Reply With Quote

Old   March 22, 2011, 04:53
Default
  #92
Member
 
Sebastian Saegeler
Join Date: Nov 2009
Location: Munich
Posts: 70
Rep Power: 17
sebastian is on a distinguished road
Well, seems there is something wrong with the kOmegaSST ...
In combination with some other turbulence models I have tested it works quite well...
sebastian is offline   Reply With Quote

Old   March 25, 2011, 03:39
Default Trouble compiling OpenFoam 1.6-ext
  #93
Senior Member
 
Phoevos
Join Date: Mar 2009
Posts: 104
Rep Power: 17
fivos is on a distinguished road
Hi to everyone,

I am trying to compile OpenFoam 1.6-ext to my PC Ubuntu 8.10 (x64), more for experimentation and to see its extended capabilities, in comparison to the standard 1.7.x. I have successfully installed OpenFOAM 1.7.x, but I am facing a lot of trouble compiling OpenFOAM 1.6-ext.

First of all, I have to say that I have all the required libraries, such as those mentioned at #45 post of this thread (bison, flex, ...........etc). Also I have included in bashrc the line :

. $HOME/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc
and commented out the respective line for OpenFOAM 1.7.x.

The main problem is when compiling Third Party. I cant succesfully compile scotch. I get the error log I have attached below (err_thirdparty.log).

Of course trying to compile OpenFOAM .16.ext fails with tons of errors such as /usr/bin/ld: cannot find -lfiniteVolume.

I attach the error log of the thirdparty only since I belive that these errors are those which cause the problem.

Any ideas are welcome.
Attached Files
File Type: txt err_thirdparty.txt (96.2 KB, 2 views)
fivos is offline   Reply With Quote

Old   April 8, 2011, 06:34
Default
  #94
Senior Member
 
Join Date: Nov 2010
Posts: 113
Rep Power: 16
lindstroem is on a distinguished road
Hello everybody!

I have as well some problems in compiling OF-1.6-ext on openSUSE 11.2 64. First i cloned the repository and edited the bash to my local directory. Then i ran thae AllMake in the ThirdParty-Dir and get the attached error - Scotch cannot be compiled. I found in several other topics, that i need the package "patch", which I installed. However it doesn't work.
Has anyone any ideas what might be wrong? When compiling the OF1.6-ext I get lots of errors that some -lsomething cannot be found.

Thanks in advance!
Attached Files
File Type: gz err.tar.gz (1.8 KB, 1 views)
lindstroem is offline   Reply With Quote

Old   April 8, 2011, 06:59
Default
  #95
Senior Member
 
Join Date: Nov 2010
Posts: 113
Rep Power: 16
lindstroem is on a distinguished road
I searched quite a long time before I posted the last message.. anyway after posting I found out that these packages where missing:
libtool
autoconf

obviously it didn't worked before.. now scotch is compiled!

[edit]After compiling OF1.6-ext i always got the error "error while loading shared libraries: libscotch.so" no such file or directory when running blockMesh or any solver.
I solved that by copying the libscotch.so to the binaries.. maybe this is not elegant but after hours of searching i didn't care any longer:

Quote:
cp OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/scotch_5.1.10b/lib/libscotch.so OpenFOAM/OpenFOAM-1.6-ext/lib/linux64GccDPOpt/
Greetings

Last edited by lindstroem; April 8, 2011 at 09:36.
lindstroem is offline   Reply With Quote

Old   May 16, 2011, 13:06
Default
  #96
New Member
 
Dalibor
Join Date: Aug 2010
Posts: 6
Rep Power: 16
jajcevic is on a distinguished road
Hello everybody!

I am trying to compile OpenFoam 1.6-ext on my PC Ubuntu 11.04 (x64). The compilation of OpenFoam was successfull as well as Third Party from stage 0 to 3. The problem occurs by compilation of Third Party Stage-4 (exactly ParaView-3.8.1) with following error:

,
.
.
Linking CXX shared library ../../bin/libvtkParallel.so
[ 45%] Built target vtkParallel
Scanning dependencies of target GenericFilteringCxxTests
[ 45%] Building CXX object VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/GenericFilteringCxxTests.cxx.o
[ 45%] Building CXX object VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/otherCreation.cxx.o
[ 45%] Building CXX object VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/vtkBridgeCell.cxx.o
[ 45%] Building CXX object VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/vtkBridgeDataSet.cxx.o
[ 45%] Building CXX object VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/vtkBridgeAttribute.cxx.o
[ 45%] Building CXX object VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/vtkBridgeCellIterator.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper.cxx.o
[ 45%] Building CXX object VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/vtkBridgePointIterator.cxx.o
[ 45%] Building CXX object VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/vtkBridgePointIteratorOnCell.cxx.o
[ 45%] Building CXX object VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/vtkBridgePointIteratorOnDataSet.cxx.o
[ 45%] Building CXX object VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/vtkBridgePointIteratorOne.cxx.o
[ 45%] Building CXX object VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/vtkBridgeCellIteratorStrategy.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkHAVSVolumeMapper.cxx.o
[ 45%] Building CXX object VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/vtkBridgeCellIteratorOnDataSet.cxx.o
[ 45%] Building CXX object VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/vtkBridgeCellIteratorOne.cxx.o
[ 45%] Building CXX object VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/vtkBridgeCellIteratorOnCellBoundaries.cxx.o
[ 45%] Building CXX object VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/vtkBridgeCellIteratorOnCellList.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkProjectedTetrahedraMapper.cxx.o
Linking CXX executable ../../../../bin/GenericFilteringCxxTests
../../../../bin/libvtkRendering.so.pv3.8: undefined reference to `vtkOSOpenGLRenderWindow::New()'
collect2: ld returned 1 exit status
make[2]: *** [bin/GenericFilteringCxxTests] Error 1
make[1]: *** [VTK/GenericFiltering/Testing/Cxx/CMakeFiles/GenericFilteringCxxTests.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkRayCastImageDisplayHelper.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkRecursiveSphereDirectionEncoder.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkSphericalDirectionEncoder.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeMapper.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeOutlineSource.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumePicker.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeProMapper.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeRayCastCompositeFunction.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeRayCastFunction.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeRayCastIsosurfaceFunction.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeRayCastMIPFunction.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeRayCastMapper.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeRenderingFactory.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeTextureMapper.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeTextureMapper2D.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeTextureMapper3D.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkUnstructuredGridBunykRayCastFunction.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkUnstructuredGridHomogeneousRayIntegrator.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkUnstructuredGridLinearRayIntegrator.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkUnstructuredGridPartialPreIntegration.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkUnstructuredGridPreIntegration.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkUnstructuredGridVolumeMapper.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkUnstructuredGridVolumeRayCastFunction.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkUnstructuredGridVolumeRayCastIterator.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkUnstructuredGridVolumeRayIntegrator.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkUnstructuredGridVolumeRayCastMapper.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkUnstructuredGridVolumeZSweepMapper.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkOpenGLGPUVolumeRayCastMapper.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkOpenGLHAVSVolumeMapper.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkOpenGLProjectedTetrahedraMapper.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkOpenGLRayCastImageDisplayHelper.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkOpenGLVolumeTextureMapper2D.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkOpenGLVolumeTextureMapper3D.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkHAVSVolumeMapper_kbufferVP.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkHAVSVolumeMapper_k2FP.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkHAVSVolumeMapper_k2BeginFP.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkHAVSVolumeMapper_k2EndFP.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkHAVSVolumeMapper_k6FP.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkHAVSVolumeMapper_k6BeginFP.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkHAVSVolumeMapper_k6EndFP.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeTextureMapper3D_FourDependentNoShadeFP.cx x.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeTextureMapper3D_FourDependentShadeFP.cxx. o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeTextureMapper3D_OneComponentNoShadeFP.cxx .o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeTextureMapper3D_OneComponentShadeFP.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeTextureMapper3D_TwoDependentNoShadeFP.cxx .o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeTextureMapper3D_TwoDependentShadeFP.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_CompositeFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_CompositeMaskFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_CompositeCroppingFS.cxx. o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_CompositeNoCroppingFS.cx x.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_HeaderFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_MIPCroppingFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_MIPFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_MIPFourDependentFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_MIPFourDependentCropping FS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_MIPFourDependentNoCroppi ngFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_MIPNoCroppingFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_MinIPCroppingFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_MinIPFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_MinIPFourDependentFS.cxx .o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_MinIPFourDependentCroppi ngFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_MinIPFourDependentNoCrop pingFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_MinIPNoCroppingFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_ParallelProjectionFS.cxx .o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_PerspectiveProjectionFS. cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_ScaleBiasFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_OneComponentFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_FourComponentsFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_NoShadeFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkGPUVolumeRayCastMapper_ShadeFS.cxx.o
[ 45%] Building CXX object VTK/VolumeRendering/CMakeFiles/vtkVolumeRendering.dir/vtkVolumeRenderingInstantiator.cxx.o
Linking CXX shared library ../../bin/libvtkVolumeRendering.so
[ 45%] Built target vtkVolumeRendering
make: *** [all] Error 2
error: Bad exit status from /home/eol/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.PlemeD (%build)


RPM build errors:
Bad exit status from /home/eol/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/tmp/rpm-tmp.PlemeD (%build)
Installing package: ParaView-3.8.1
Uninstalling ParaView-3.8.1 using RPM: ParaView-3.8.1-linux64GccDPOpt.x86_64
Installing ParaView-3.8.1 using RPM file: /home/eol/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-3.8.1-linux64GccDPOpt.x86_64.rpm
error: open of /home/eol/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/RPMS/x86_64/ParaView-3.8.1-linux64GccDPOpt.x86_64.rpm failed: No such file or directory
Done installing package ParaView-3.8.1

========================================
Done ThirdParty AllMake: Stage4
========================================

========================================
Done ThirdParty Allwmake
========================================




Has anyone any ideas what might be wrong?
Thanks in advance!
jajcevic is offline   Reply With Quote

Old   May 16, 2011, 13:07
Default
  #97
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
I met the same error, ubuntu 11.04 (64bits)
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Old   May 16, 2011, 13:36
Default
  #98
New Member
 
Dalibor
Join Date: Aug 2010
Posts: 6
Rep Power: 16
jajcevic is on a distinguished road
Quote:
Originally Posted by lakeat View Post
I met the same error, ubuntu 11.04 (64bits)
Did you find a solution?
I have installed following packages:

sudo apt-get install binutils-dev flex bison git-core build-essential python-dev libreadline5-dev wget zlib1g-dev cmake libpng12-dev libxt-dev libxi-dev libxrender-dev libxrandr-dev libxcursor-dev libxinerama-dev libfreetype6-dev libfontconfig1-dev libglib2.0-dev freeglut3-dev libqt4-dev qt4-dev-tools

sudo apt-get install bison flex build-essential git gitk git-gui rpm
sudo apt-get install libxt-dev
sudo apt-get install zlib1g-dev
sudo apt-get install gnuplot python-numpy
sudo apt-get install binutils-dev
sudo apt-get install libtool autoconf

as well as I have set in ".bashrc" at the end:

. $HOME/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc
export QT_BIN_DIR=/usr/bin
export QT_DIR=/usr
export WM_64=on
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/$USER/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/rpmBuild/BUILD/qt-everywhere-opensource-src-4.7.0/lib/

and in "AllMake.stage4":

export QT_THIRD_PARTY=1

after:

echo ========================================
echo Starting ThirdParty AllMake: Stage4
echo ========================================
echo

I belive that I have all required libraries.

Last edited by jajcevic; May 19, 2011 at 18:42.
jajcevic is offline   Reply With Quote

Old   May 16, 2011, 13:39
Default
  #99
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
nope...
Usually, what I will do is to use system software manager to install the paraview package, by doing this, all requirements of paraview can be automatically fullfilled and then I do Allwmake.
But this time, it failed.
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Old   May 16, 2011, 13:47
Default
  #100
New Member
 
Dalibor
Join Date: Aug 2010
Posts: 6
Rep Power: 16
jajcevic is on a distinguished road
Quote:
Originally Posted by lakeat View Post
nope...
Usually, what I will do is to use system software manager to install the paraview package, by doing this, all requirements of paraview can be automatically fullfilled and then I do Allwmake.
But this time, it failed.
My first step was also installation of paraview via "Ubuntu Software Centar" . I suppose we are missing a package or there is a package conflict.
jajcevic is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 cfd.direct OpenFOAM Announcements from Other Sources 0 September 14, 2016 04:19
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55
OpenFOAM 1.6 package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 36 September 2, 2009 13:46
OpenFOAM Version 1.6 Released opencfd OpenFOAM Announcements from ESI-OpenCFD 0 July 27, 2009 18:55


All times are GMT -4. The time now is 16:26.