|
[Sponsors] |
May 17, 2013, 05:53 |
|
#21 |
New Member
RJ HO
Join Date: Dec 2012
Posts: 21
Rep Power: 14 |
I have the exact same problem like yours. What's the problem exactly?
|
|
July 24, 2013, 02:18 |
|
#22 |
Member
Join Date: Jun 2012
Posts: 65
Rep Power: 14 |
Hi Marco,
I use OF 2.1.1 so I need to modify some codes in the very fundamental library-"OpenFoam", which mentioned in the bug report. However, since we use cluster servers here, no matter how I try to modify the Make/option file, it always reads the original "OpenFoam" library, which outputs like below when compiling: -I/usr/apps1/openfoam-2.1.1/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/usr/apps1/openfoam-2.1.1/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude so it doesn't recognize the codes I changed. It only appears for the library "OpenFoam", not for other libraries, I guess the reason is that it's the cornerstone, and I am sure I didn't make mistakes in Make/option and Make/files. So do you have idea about this problem? Thanks! |
|
July 24, 2013, 13:16 |
|
#23 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
Can you post your Make/options file? Also, what are the values of the following system variables:
$FOAM_SRC $FOAM_LIBBIN $FOAM_USER_LIBBIN |
|
July 25, 2013, 03:09 |
|
#24 |
Member
Join Date: Jun 2012
Posts: 65
Rep Power: 14 |
Thanks for reply,Macro. I guess the problem is not from Make/options in the library named "OpenFoam", for I have already deleted all codes in this file, which means it shouldn't read other libraries or utilities, but I still got the message like above I attached when I compile the library named "OpenFoam". So I can expect same situation for other libraries, which means it would not read the modifies codes in like polyMeshClear.C.
So I have installed the OpenFoam on my personal laptop in Ubuntu system, in this case I guess I can get the biggest permission. However, after I use the command"src", then I reach the source libraries:/opt/OpenFoam-2.1.1/src, and found I can't modify codes there. But if I compile libraries under $WM_PROJECT_DIR, then the libraries will still read -I/opt/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude, which is the same thing as I use in the cluster server. It seems that you use your personal computer for OpenFoam, then could you tell me how to make it read the modified "OpenFoam" library but not read the original library named "OpenFoam" for my laptop? Is it like I should change some codes in some file, then I can modify codes under /opt/OpenFoam/src (after I use command "src" I reach here)directory? Thanks |
|
July 25, 2013, 13:15 |
|
#25 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
If you are going to make changes to the base OpenFOAM install (which really don't recommend), I would install either the source pack and compiler everything from scratch (in the $HOME/OpenFOAM/OpenFOAM-2.1.1 directory) or the GIT repository that always gets you the latest updates. Having OpenFOAM in the /usr or /opt directories makes effecting change to the base code messy. What were the values of the system variables I asked about?
|
|
September 23, 2013, 06:33 |
Trouble with dieselDyMFoam in OF20x
|
#26 | ||
New Member
Ah Cai
Join Date: Dec 2010
Location: Malaysia
Posts: 16
Rep Power: 16 |
Quote:
Quote:
I am currently having the same error as mentioned by Abhishek when running adaptive local mesh refinement for dieselDyMFoam in OF20x. According to Marco, the problem has been resolved and it works just fine in OF21x. However, I really would like to stick to OF20x as I have ran lots of simulation cases in OF20x and would like to be consistent in the OF version I am using. Is there a way to proceed with mesh refinement in OF20x or there is no other way except to switch versions? Thanks. Regards, Ahcai |
|||
March 31, 2015, 09:19 |
|
#27 |
New Member
Haw
Join Date: Jan 2015
Location: Germany
Posts: 3
Rep Power: 11 |
Hi,
i tried to apply the automatic mesh refinement in SprayFoam. For this i got much help from this Thread: http://www.openfoam.org/mantisbt/view.php?id=464 So far it seems the new solver has no errors itself. Unfortunately i got this error in the compiling process. I think its a problem with the platform: -lfiniteVolume -lmeshTools -lcompressibleTurbulenceModel -lcompressibleRASModels -lcompressibleLESModels -llagrangian -llagrangianIntermediate -llagrangianSpray -lspecie -lbasicThermophysicalModels -lliquidProperties -lliquidMixtureProperties -lsolidProperties -lsolidMixtureProperties -lthermophysicalFunctions -lreactionThermophysicalModels -lSLGThermo -lchemistryModel -lradiationModels -lODE -lregionModels -lsurfaceFilmModels -lsampling -ldynamicFvMesh -ltopoChangerFvMesh -ldistributionModels -lOpenFOAM -ldl -lm -o /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/bin/dynamicSprayFoam /usr/bin/ld: warning: libmpi.so.1, needed by /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so, not found (try using -rpath or -rpath-link) /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Waitall' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Abort' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `ompi_mpi_double' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Get_count' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Init' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Probe' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Send' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Allreduce' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `ompi_mpi_packed' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Buffer_detach' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Bsend' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `ompi_mpi_byte' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Irecv' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Recv' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `ompi_mpi_comm_world' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Get_processor_name' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Test' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Isend' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Finalize' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `ompi_mpi_op_sum' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Buffer_attach' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Comm_size' /cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/openmpi-1.5.3/libPstream.so: undefined reference to `MPI_Comm_rank' collect2: ld returned 1 exit status make: *** [/cax/sw/OPENFOAM/LINUX_x86_64/moa1/milano/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/bin/dynamicSprayFoam] Error 1 Can anyone help me? Thank you very much! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Technical] Local adaptive mesh refinement with hybrid meshes | holger_marschall | OpenFOAM Meshing & Mesh Conversion | 5 | December 21, 2010 14:38 |
Adaptive Mesh Refinement and Cyclic Boundary Conditions | adona058 | OpenFOAM Running, Solving & CFD | 6 | October 23, 2009 10:17 |
basic of mesh refinement | arya | CFX | 4 | June 19, 2007 13:21 |
Mesh Refinement | JY | Siemens | 7 | September 19, 2002 14:37 |
Hints on adaptive mesh refinement | Bo Jensen | Siemens | 0 | July 17, 2000 09:39 |