|
[Sponsors] |
July 27, 2011, 08:27 |
|
#21 |
Member
pere
Join Date: Mar 2011
Location: barcelona
Posts: 46
Rep Power: 15 |
here they are:
|
|
July 27, 2011, 10:36 |
|
#22 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Pere,
Mmm, something's not right on make6.log. There is no indication that the modifications were implemented. For example, I'll quote an excerpt of the output from it: Code:
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/prod/OPENFOAM1.7.1/OpenFOAM-1.7.1-SGI/OpenFOAM-1.7.1/src/finiteVolume/lnInclude -IlnInclude -I. -I/prod/OPENFOAM1.7.1/OpenFOAM-1.7.1-SGI/OpenFOAM-1.7.1/src/OpenFOAM/lnInclude -I/prod/OPENFOAM1.7.1/OpenFOAM-1.7.1-SGI/OpenFOAM-1.7.1/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/laplacianFoam.o -L/prod/OPENFOAM1.7.1/OpenFOAM-1.7.1-SGI/OpenFOAM-1.7.1/lib/linux64GccDPOpt \ -lfiniteVolume -lOpenFOAM -liberty -ldl -lm -o /prod/OPENFOAM1.7.1/OpenFOAM-1.7.1-SGI/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/laplacianFoam I've edited a bit the respective part from the post I made before, so let's try again:
Good luck! Bruno
__________________
|
|
July 28, 2011, 05:59 |
|
#23 |
Member
pere
Join Date: Mar 2011
Location: barcelona
Posts: 46
Rep Power: 15 |
Ok I think it's good now but the error is the same again.....
|
|
July 28, 2011, 06:13 |
|
#24 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Pere,
This is so strange... OK, check this thread: http://www.cfd-online.com/Forums/ope...pt-2-03-a.html - You're not alone on using SGIMPI! Unfortunately I don't have access to a system that does have SGI-MPI, so I'm unable to help much more than this and with what I said on that thread. The main focus are the definitions "-DSGIMPI -DMPI_NO_CPPBIND" that seem to be the missing link for OpenFOAM to build on your system! You'll need to rebuild at least Pstream for things to start working once again! Good luck! Bruno
__________________
|
|
July 29, 2011, 04:43 |
|
#25 |
Member
pere
Join Date: Mar 2011
Location: barcelona
Posts: 46
Rep Power: 15 |
I've changed PFLAGS=.... in mplibSGIMPI and the error is the same again:
|
|
July 29, 2011, 05:40 |
|
#26 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Pere,
Wow, SGI MPI is starting to be more of a pain than most... OK, with the new options, I'd advise to rebuild OpenFOAM from scratch. Nonetheless, I've found this link: http://www.lrz.de/services/software/...el/mpi/sgimpt/ I don't know which type of machine you are using, so I can't deduce what's needed. But I suggest that you check which libraries are necessary for your machine + SGIMPI. To rebuild OpenFOAM from scratch, run: Code:
foam wcleanAll wcleanLnIncludeAll ./Allwmake > make.log 2>&1 The only last thing that comes to mind is that you are having a problem with 32-64 bit library conflicts, where in some cases it's linking to the 32bit version and on others it's linking to the 64bit versions. Last but not least, consider contacting OpenCFD (www.openfoam.com), since they should know how to make this work for SGI MPI! __________ edit: this last part is actually for Anirban... I've confused the two threads Hold on, I just remembered a similar issue, although this might not be the solution:
Best regards, Bruno
__________________
Last edited by wyldckat; July 29, 2011 at 05:44. Reason: see "edit:" |
|
July 29, 2011, 06:35 |
|
#27 |
Member
pere
Join Date: Mar 2011
Location: barcelona
Posts: 46
Rep Power: 15 |
I'm using Altix UV 1000
|
|
July 29, 2011, 18:08 |
|
#28 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Pere,
OK, my theory is that something from the OpenMPI build is conflicting with the SGIMPI build and it's this which is showing us those errors. So the best option right now I can think of, in order to isolate the error, would be to do a very clean rebuild of OpenFOAM. For this, lets try it this way: Code:
foam3rdParty wclean libso metis-5.0pre2/GKlib wclean libso metis-5.0pre2/libmetis wclean libso ParMetis-3.1/METISLib wclean libso ParMetis-3.1/ParMETISLib wclean libso ParMGridGen-1.0/MGridGen/IMlib wclean libso ParMGridGen-1.0/MGridGen/Lib rm -r platforms #this way we clear up the libraries that might be conflicting with the OpenFOAM installation foam rm -r $FOAM_LIBBIN #this will remove the currently built libraries wcleanAll wcleanLnIncludeAll export WM_NCOMPPROCS=8 #where 8 represents the number of cores on your local machine, so change if necessary, so OpenFOAM will build faster. ./Allwmake > make.log 2>&1 Best regards, Bruno
__________________
|
|
September 24, 2011, 08:58 |
|
#29 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
News update about building with SGI MPT (or so I hope): http://www.cfd-online.com/Forums/ope...tml#post325458 post#7
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
reactingFoam in openfoam1.7.1 | Farshad_Noravesh | OpenFOAM | 10 | November 30, 2010 03:38 |
A New Model Implementation! | T.D. | OpenFOAM Running, Solving & CFD | 12 | September 13, 2010 10:09 |