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

OF 1.6 ext on Ubuntu 12.10 (64 bit) compilation errors

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 20, 2013, 10:20
Default OF 1.6 ext on Ubuntu 12.10 (64 bit) compilation errors
  #1
New Member
 
ILAM
Join Date: May 2012
Location: chennai, INDIA
Posts: 20
Rep Power: 13
dreamilam is on a distinguished road
Hi guys,
I am trying to install OF 1.6 ext on ubuntu 12.1 (64 bit).. I got some errors while compiling paraview. So I set it to system installed paraview.
But, I am still getting errors while compiling the src folder.
can anybody help?
I have attached the log files
Quote:
kaipulla@kaipulla-Dell-System-XPS-L502X:~/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty$ ./AllMake

This system rpm command: rpm --force-debian

========================================
Starting ThirdParty Allwmake
========================================


This system rpm command: rpm --force-debian

========================================
Starting ThirdParty AllMake: Stage1
========================================

Package name : cmake-2.8.8
Package URL : https://www.cmake.org/files/v2.8/cmake-2.8.8.tar.gz
RPM spec file name: cmake-2.8.8.spec
Additional flags :
Updating the ThirdParty environment variables before building package cmake-2.8.8
Package cmake-2.8.8 is already installed
Done installing package

========================================
Done ThirdParty AllMake: Stage1
========================================


This system rpm command: rpm --force-debian

========================================
Starting ThirdParty AllMake: Stage2
========================================

Package name : openmpi-1.4.3
Package URL : http://www.open-mpi.org/software/omp...i-1.4.3.tar.gz
RPM spec file name: openmpi-1.4.3.spec
Additional flags :
Updating the ThirdParty environment variables before building package openmpi-1.4.3
Package openmpi-1.4.3 is already installed
Done installing package

========================================
Done ThirdParty AllMake: Stage2
========================================


This system rpm command: rpm --force-debian

========================================
Starting ThirdParty AllMake: Stage3
========================================

Package name : metis-5.0pre2
Package URL : http://glaros.dtc.umn.edu/gkhome/fet...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/par...Gen-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...o-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
Package libccmio-2.6.1 is already installed
Done installing package

Package name : mesquite-2.1.2
Package URL : http://software.sandia.gov/~jakraft/...e-2.1.2.tar.gz
RPM spec file name: mesquite-2.1.2.spec
Additional flags :
Updating the ThirdParty environment variables before building package mesquite-2.1.2
Package mesquite-2.1.2 is already installed
Done installing package

Package name : scotch-5.1.10b
Package URL : https://gforge.inria.fr/frs/download...5.1.10b.tar.gz
RPM spec file name: scotch-5.1.10b.spec
Additional flags :
Updating the ThirdParty environment variables before building package scotch-5.1.10b
Package scotch-5.1.10b is already installed
Done installing package

Package name : ParMetis-3.1.1
Package URL : http://glaros.dtc.umn.edu/gkhome/fet...s-3.1.1.tar.gz
RPM spec file name: ParMetis-3.1.1.spec
Additional flags :
Updating the ThirdParty environment variables before building package ParMetis-3.1.1
Package ParMetis-3.1.1 is already installed
Done installing package

========================================
Done ThirdParty AllMake: Stage3
========================================


This system rpm command: rpm --force-debian

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

Package name : qt-everywhere-opensource-src-4.7.4
Package URL : http://get.qt.nokia.com/qt/source/qt...c-4.7.4.tar.gz
RPM spec file name: qt-everywhere-opensource-src-4.7.4.spec
Additional flags :
Updating the ThirdParty environment variables before building package qt-everywhere-opensource-src-4.7.4
Package qt-everywhere-opensource-src-4.7.4 is already installed
Done installing package

Using system installed ParaView

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

========================================
Done ThirdParty Allwmake
========================================
Quote:
kaipulla@kaipulla-Dell-System-XPS-L502X:~/OpenFOAM/OpenFOAM-1.6-ext/src$ ./Allwmake
+ wmakePrintBuild -check
no git description found
+ /bin/rm -f OpenFOAM/Make/linux64GccDPOpt/global.C OpenFOAM/Make/linux64GccDPOpt/global.o
+ wmakeLnInclude OpenFOAM
+ wmakeLnInclude meshTools
+ wmakeLnInclude OSspecific/POSIX
+ Pstream/Allwmake
+ wmake libso dummy
'/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64GccDPOpt/dummy/libPstream.so' is up to date.
+ set +x

Note: ignore spurious warnings about missing mpicxx.h headers
+ WM_OPTIONS=linux64GccDPOptOPENMPI
+ wmake libso mpi
'/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64GccDPOpt/openmpi-1.4.3/libPstream.so' is up to date.
+ wmake libo OSspecific/POSIX
'/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64GccDPOpt/libOSspecific.o' is up to date.
+ wmake libso OpenFOAM
SOURCE=global/global.Cver ; sed -e 's/VERSION_STRING/1.6-ext/' -e 's/BUILD_STRING/1.6-ext/' $SOURCE > Make/linux64GccDPOpt/global.C; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c Make/linux64GccDPOpt/global.C -o Make/linux64GccDPOpt/global.o
SOURCE=db/dictionary/dictionary.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/dictionary.o
SOURCE=db/IOobject/IOobjectWriteHeader.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/IOobjectWriteHeader.o
SOURCE=db/regIOobject/regIOobject.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/regIOobject.o
SOURCE=db/regIOobject/regIOobjectRead.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/regIOobjectRead.o
In file included from lnInclude/ILList.H:170:0,
from lnInclude/IDLList.H:36,
from lnInclude/entry.H:46,
from db/dictionary/dictionary.H:55,
from db/dictionary/dictionary.C:27:
lnInclude/ILList.C: In instantiation of ‘Foam::ILList<LListBase, T>::ILList(const Foam::ILList<LListBase, T>&, const CloneArg&) [with CloneArg = Foam::dictionary; LListBase = Foam:LListBase; T = Foam::entry]’:
lnInclude/IDLList.H:85:49: required from ‘Foam::IDLList<T>::IDLList(const Foam::IDLList<T>&, const CloneArg&) [with CloneArg = Foam::dictionary; T = Foam::entry]’
db/dictionary/dictionary.C:127:23: required from here
lnInclude/ILList.C:66:9: error: ‘append’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
lnInclude/ILList.C:66:9: note: declarations in dependent base ‘Foam:LListBase’ are not found by unqualified lookup
lnInclude/ILList.C:66:9: note: use ‘this->append’ instead
make: *** [Make/linux64GccDPOpt/dictionary.o] Error 1
make: *** Waiting for unfinished jobs....
P.S : I have tried most of the fixes discussed on the forum.
dreamilam is offline   Reply With Quote

Old   April 20, 2013, 15:21
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi dreamilam,

I got your message and I saw your post even before that

I won't be able to test this anytime soon, but the following code seems to be the missing step:
Quote:
Originally Posted by wenterodt View Post
Code:
# We are going to use the system installed version of gcc-4.7.1

# Modify the etc/prefs.sh file to switch to gcc 4.7.1
sed -i s/"compilerInstall=System"/"compilerInstall=System\nWM_COMPILER=Gcc47"/g ~/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh
It changes from the default option "Gcc" to "Gcc47", which applies some of the much needed rules for compiling with Gcc 4.7, which Ubuntu 12.10 provides.

After you've executed the last line of code, do the following steps as well:
  1. Since I don't want you to need to rebuild every single package once again, let's try and use symbolic links for linking to the previous builds:
    Code:
    foam3rdParty
    find . -name linux64GccDPOpt | sed -e 's=linux64GccDPOpt=linux64Gcc47DPOpt=' | xargs -I {} ln -s linux64GccDPOpt {}
  2. Then start a new terminal and run "Allwmake" once again!
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 20, 2013, 21:19
Default
  #3
New Member
 
ILAM
Join Date: May 2012
Location: chennai, INDIA
Posts: 20
Rep Power: 13
dreamilam is on a distinguished road
Thanks for the quick reply bruno.
I did as you told and got this error.
Quote:
Makefile:55: /home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc47/general: No such file or directory
Makefile:56: /home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc47/c++: No such file or directory
make: *** No rule to make target `/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc47/c++'. Stop.
+ wmakePrintBuild -check
no git description found
+ /bin/rm -f OpenFOAM/Make/linux64Gcc47DPOpt/global.?
+ wmakeLnInclude OpenFOAM
+ wmakeLnInclude meshTools
+ wmakeLnInclude OSspecific/POSIX
+ Pstream/Allwmake
+ wmake libso dummy
/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/MakefileOptions:37: /home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc47/general: No such file or directory
make: *** No rule to make target `/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc47/general'. Stop.
/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/MakefileFiles:39: /home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc47/general: No such file or directory
/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/MakefileFiles:40: linux64Gcc47DPOpt/options: No such file or directory
make: *** No rule to make target `linux64Gcc47DPOpt/options'. Stop.
wmake error: file 'Make/linux64Gcc47DPOpt/objectFiles' could not be created
+ set +x

Note: ignore spurious warnings about missing mpicxx.h headers
+ WM_OPTIONS=linux64Gcc47DPOptOPENMPI
+ wmake libso mpi
/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/MakefileOptions:37: /home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc47/general: No such file or directory
make: *** No rule to make target `/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc47/general'. Stop.
/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/MakefileFiles:39: /home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc47/general: No such file or directory
/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/MakefileFiles:40: linux64Gcc47DPOptOPENMPI/options: No such file or directory
make: *** No rule to make target `linux64Gcc47DPOptOPENMPI/options'. Stop.
wmake error: file 'Make/linux64Gcc47DPOptOPENMPI/objectFiles' could not be created
+ wmake libo OSspecific/POSIX
/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/MakefileOptions:37: /home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc47/general: No such file or directory
make: *** No rule to make target `/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc47/general'. Stop.
/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/MakefileFiles:39: /home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc47/general: No such file or directory
/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/MakefileFiles:40: linux64Gcc47DPOpt/options: No such file or directory
make: *** No rule to make target `linux64Gcc47DPOpt/options'. Stop.
Then i copy-pasted the wmake/rules/linux64Gcc47 directory from my OF2.2 installation.
But Its still not getting compiled.
Quote:
kaipulla@kaipulla-Dell-System-XPS-L502X:~/OpenFOAM/OpenFOAM-1.6-ext$ ./Allwmake
make: Nothing to be done for `all'.
+ wmakePrintBuild -check
no git description found
+ /bin/rm -f OpenFOAM/Make/linux64Gcc47DPOpt/global.C OpenFOAM/Make/linux64Gcc47DPOpt/global.o
+ wmakeLnInclude OpenFOAM
+ wmakeLnInclude meshTools
+ wmakeLnInclude OSspecific/POSIX
+ Pstream/Allwmake
+ wmake libso dummy
'/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64Gcc47DPOpt/dummy/libPstream.so' is up to date.
+ set +x

Note: ignore spurious warnings about missing mpicxx.h headers
+ WM_OPTIONS=linux64Gcc47DPOptOPENMPI
+ wmake libso mpi
linux64Gcc47DPOptOPENMPI/options:4: /home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc47/mplibOPENMPI: No such file or directory
make: *** No rule to make target `/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc47/mplibOPENMPI'. Stop.
wmake error: file 'Make/linux64Gcc47DPOptOPENMPI/objectFiles' could not be created
+ wmake libo OSspecific/POSIX
'/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64Gcc47DPOpt/libOSspecific.o' is up to date.
+ wmake libso OpenFOAM
SOURCE=global/global.Cver ; sed -e 's/VERSION_STRING/1.6-ext/' -e 's/BUILD_STRING/1.6-ext/' $SOURCE > Make/linux64Gcc47DPOpt/global.C; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c Make/linux64Gcc47DPOpt/global.C -o Make/linux64Gcc47DPOpt/global.o
SOURCE=db/dictionary/dictionary.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc47DPOpt/dictionary.o
SOURCE=db/dictionary/primitiveEntry/primitiveEntry.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc47DPOpt/primitiveEntry.o
SOURCE=db/dictionary/primitiveEntry/primitiveEntryIO.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc47DPOpt/primitiveEntryIO.o
In file included from lnInclude/ILList.H:170:0,
from lnInclude/IDLList.H:36,
from lnInclude/entry.H:46,
from db/dictionary/dictionary.H:55,
from db/dictionary/dictionary.C:27:
lnInclude/ILList.C: In instantiation of ‘Foam::ILList<LListBase, T>::ILList(const Foam::ILList<LListBase, T>&, const CloneArg&) [with CloneArg = Foam::dictionary; LListBase = Foam:LListBase; T = Foam::entry]’:
lnInclude/IDLList.H:85:49: required from ‘Foam::IDLList<T>::IDLList(const Foam::IDLList<T>&, const CloneArg&) [with CloneArg = Foam::dictionary; T = Foam::entry]’
db/dictionary/dictionary.C:127:23: required from here
lnInclude/ILList.C:66:9: error: ‘append’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
lnInclude/ILList.C:66:9: note: declarations in dependent base ‘Foam:LListBase’ are not found by unqualified lookup
lnInclude/ILList.C:66:9: note: use ‘this->append’ instead
make: *** [Make/linux64Gcc47DPOpt/dictionary.o] Error 1
make: *** Waiting for unfinished jobs....
dreamilam is offline   Reply With Quote

Old   April 21, 2013, 05:16
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
OK, I know what the problem is... I think... Run the following commands:
Code:
foam
git stash
git merge hotfix/gcc47
git stash pop
Note: Do the last step, even if the "git merge" step gives an error!

If the "git merge" step does give you an error, then you possibly got the incomplete git repository... if so, try this:
Code:
foam
git remote add repo git://repo.or.cz/OpenFOAM-1.6-ext.git
git pull repo hotfix/gcc47
Then run Allwmake once again.

Best regards,
Bruno
__________________

Last edited by wyldckat; April 21, 2013 at 06:19. Reason: "git stash pop", not "git pop"...
wyldckat is offline   Reply With Quote

Old   April 21, 2013, 06:12
Default
  #5
New Member
 
ILAM
Join Date: May 2012
Location: chennai, INDIA
Posts: 20
Rep Power: 13
dreamilam is on a distinguished road
Hi Bruno,
I Followed your instructions, but I am getting a different kind of error.

Quote:
kaipulla@kaipulla-Dell-System-XPS-L502X:~/OpenFOAM/OpenFOAM-1.6-ext$ git stash
Saved working directory and index state WIP on master: 9716e5a Merge branch 'master' into hotfix/gcc47
HEAD is now at 9716e5a Merge branch 'master' into hotfix/gcc47
Quote:
kaipulla@kaipulla-Dell-System-XPS-L502X:~/OpenFOAM/OpenFOAM-1.6-ext$ git merge hotfix/gcc47
fatal: hotfix/gcc47 - not something we can merge
Quote:
kaipulla@kaipulla-Dell-System-XPS-L502X:~/OpenFOAM/OpenFOAM-1.6-ext$ git pop
git: 'pop' is not a git command. See 'git --help'.

Did you mean this?
log
Quote:
kaipulla@kaipulla-Dell-System-XPS-L502X:~/OpenFOAM/OpenFOAM-1.6-ext$ git pull repo hotfix/gcc47
From git://repo.or.cz/OpenFOAM-1.6-ext
* branch hotfix/gcc47 -> FETCH_HEAD
Already up-to-date.
After running Allwmake, this is the first error i get
Quote:
+ wmake libso parMetisDecomp
linux64Gcc47DPOpt/options:4: /home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc47/mplibOPENMPI: No such file or directory
make: *** No rule to make target `/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/wmake/rules/linux64Gcc47/mplibOPENMPI'. Stop.
wmake error: file 'Make/linux64Gcc47DPOpt/objectFiles' could not be created
+ wmake libso decompositionMethods
Making dependency list for source file patchConstrainedDecomp/patchConstrainedDecomp.C
Making dependency list for source file hierarchGeomDecomp/hierarchGeomDecomp.C
Making dependency list for source file simpleGeomDecomp/simpleGeomDecomp.C
Making dependency list for source file geomDecomp/geomDecomp.C
Making dependency list for source file manualDecomp/manualDecomp.C
Making dependency list for source file decompositionMethod/decompositionMethod.C
SOURCE=decompositionMethod/decompositionMethod.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc47DPOpt/decompositionMethod.o
SOURCE=manualDecomp/manualDecomp.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc47DPOpt/manualDecomp.o
SOURCE=geomDecomp/geomDecomp.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc47DPOpt/geomDecomp.o
SOURCE=simpleGeomDecomp/simpleGeomDecomp.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc47DPOpt/simpleGeomDecomp.o
SOURCE=hierarchGeomDecomp/hierarchGeomDecomp.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc47DPOpt/hierarchGeomDecomp.o
SOURCE=patchConstrainedDecomp/patchConstrainedDecomp.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -IlnInclude -I. -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OpenFOAM/lnInclude -I/home/kaipulla/OpenFOAM/OpenFOAM-1.6-ext/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc47DPOpt/patchConstrainedDecomp.o
/usr/bin/ld: cannot find -lparMetisDecomp
collect2: error: ld returned 1 exit status
dreamilam is offline   Reply With Quote

Old   April 21, 2013, 06:25
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Sorry, I forgot to write down the word "stash" before "pop" I've fixed the previous post. The correct command is:
Code:
git stash pop
But this is getting very strange... because the "git pull" command indicates that the merge was already done sometime in the past.

And apparently I was too sleepy when I read your previous post...
Since you've copied the "wmake/rules/linux64Gcc47" folder from OF 2.2, then there's only one file missing. Copy the file "wmake/rules/General/mplibOPENMPI" from OpenFOAM 2.2 into the folder "wmake/rules/linux64Gcc47" on 1.6-ext. Then try Allwmake once again.
__________________
wyldckat is offline   Reply With Quote

Old   April 21, 2013, 06:31
Default
  #7
New Member
 
ILAM
Join Date: May 2012
Location: chennai, INDIA
Posts: 20
Rep Power: 13
dreamilam is on a distinguished road
Hi Bruno,
yeah, I copied the file. Its compiling nice and good. There is no error till now.

Thanks a lot. You are a life saver.
dreamilam is offline   Reply With Quote

Old   April 21, 2013, 06:43
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi dreamilam,

You're welcome! I just hope it will build everything without any further problems...

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
OF 1.6 installation on Ubuntu 7.04 mstfl OpenFOAM Installation 12 March 29, 2010 01:18
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 14:43
Problems Installing OF 1.6 32 bit bucksfan OpenFOAM Installation 19 August 4, 2009 02:36
Problem in running fluent 6.3 (64 bit) on ubuntu 8.1 (64 bit) Mir5 FLUENT 3 April 29, 2009 11:32
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58


All times are GMT -4. The time now is 11:54.