-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issues with make #2
Comments
What does "echo $OLDEV_CPP_IO" give you? it should point to iwesol/nonOF/c++/src/io, where the obj directory is. If that does not help, could you please show me the exact error message? Cheers Dr. Jonas Schmidt [email protected] From: workAWP [[email protected]] Hi, I got these errors when running make in the iwsol directory 1st line of errors: Entering directory '/opt/terrainBlockMesher-master/iwesol/nonOF/c++/src/io' ...in the /obj/ dirctory there no IO.o file but there is one in the /src/ with extension .cpp; namely IO.cpp Everything shoud be at its place, since I just downloaded the zip and unzipped it. Info on installation: .bashrc - lines: Thanks in advance for ur effort. — |
it does: zh-ligg@zhligg-HP-EliteDesk-800-G1-TWR:/opt/terrainBlockMesher-master/iwesol$ echo $OLDEV_CPP_IO |
Do you have write permission in /opt ? -- otherwise try "sudo -s" first.. Dr. Jonas Schmidt [email protected] From: workAWP [[email protected]] it does: zh-ligg@zhligg-HP-EliteDesk-800-G1-TWR:/opt/terrainBlockMesher-master/iwesol$ echo $OLDEV_CPP_IO — |
zh-ligg@zhligg-HP-EliteDesk-800-G1-TWR:/opt/terrainBlockMesher-master/iwesol$ sudo -s make |
yes I do - the above is the output |
Please exe "sudo -s" first, alone, before any other commands. Also, the error says "make: wmake: Command not found" - please source OF 2.3.0 first. Maybe afterwards source iwesol again - does it help? |
I might not get what you exactly mean. These are the lines in my .bashrcsource /opt/openfoam231/etc/bashrc export IWESOL=/opt/terrainBlockMesher-master/iwesol source $IWESOL/etc/bashrc-2.3.0 |
sorry for the big fonts - is not deliberately! |
ok, first check if "icoFoam -version" gives you a sensible result. and - please do not use "make" but "make OF2.3.0" for the 2.3.0 version. |
so, although -version is not an option for any openFoam solver I think this is what you wanted to see? When I use "make OF2.3.0", then: Compiling Outputable.cpp: Compiling Plotable.cpp: Compiling OManager.cpp: Compiling FileLinked.cpp: Compiling JString.cpp: Compiling BLIB.cpp: Compiling Point2D.cpp: Compiling Coordinate2D.cpp: Compiling CoordinateSystem2D.cpp: Compiling Geometrical2D.cpp: Compiling ScalarLike2D.cpp: Compiling LinePath2D.cpp: Compiling Distance.cpp: Compiling Line2D.cpp: Compiling VectorLike2D.cpp: Compiling RRFunction.cpp: Compiling GnuplotFitInfo.cpp: Compiling Plot.cpp: Compiling PlotableObject.cpp: Compiling PlotWriter.cpp: Compiling LogPlotWriter.cpp: Compiling PlotTableWriter.cpp: Compiling PolarPlotWriter.cpp: Compiling PlotHistogramWriter.cpp: Compiling PolarPlotPythonWriter.cpp: |
doing it with sudo -s zh-ligg@zhligg-HP-EliteDesk-800-G1-TWR:/opt/terrainBlockMesher-master/iwesol$ sudo -s make OF2.3.0 |
ok, my last idea for the day: try "make clean" first, then "sudo -s" (alone), then "make OF2.3.0". Sorry if that does not do it - I cannot reproduce your error on my machine. Anyways, have a good weekend, |
(Actually "sudo -s" should be before "make clean" - you need write permissions, and I am not sure make keeps the sudo for all sub-commands.) |
I think it compiled now. Unless two errors at the end: meshChecker/checkGeometry.dep:365: recipe for target 'Make/linux64GccDPOpt/checkGeometry.o' failed How can I check quickly, whether the installation worked or not? |
I suppose typing terrainBl and then "tab". |
Hi Jonas, Most of the code has apparently been compiled. But I still get two errors. Have you had this error before? meshChecker/checkGeometry.dep:365: recipe for target 'Make/linux64GccDPOpt/checkGeometry.o' failed Cheers, Antonio |
Ok, I also cannot compile it with OF 2.3.1, only with OF 2.3.0. Hopefully I can provide a version for 2.3.1 soon. Sorry fow now! |
Hi, do you think you can provide a 2.3.1 version in foreseeable future? Cheers, Antonio |
Done. please pull the latest version, source OF2.3.1 and iwesol/etc/bashrc-2.3.1, then "make clean" and "make OF2.3.1". Let me know if it does not compile. Regards, Dr. Jonas Schmidt [email protected] From: workAWP [[email protected]] Hi, do you think you can provide a 2.3.1 version in foreseeable future? Cheers, Antonio — |
ok, I need to post the output righ here: zh-ligg@zhligg-HP-EliteDesk-800-G1-TWR:~/work/meshSW/terrainBlockMesher-master/iwesol$ make OF2.3.1 Compiling IO.cpp: Compiling Outputable.cpp: Compiling Plotable.cpp: Compiling OManager.cpp: Compiling FileLinked.cpp: Compiling JString.cpp: Linking library /home/zh-ligg/work/meshSW/terrainBlockMesher-master/iwesol/nonOF/c++/lib/libolCppIO.so: Compiling BLIB.cpp: Compiling Point2D.cpp: Compiling Coordinate2D.cpp: Compiling CoordinateSystem2D.cpp: Compiling Geometrical2D.cpp: Compiling ScalarLike2D.cpp: Compiling Distance.cpp: Compiling VectorLike2D.cpp: Compiling LinePath2D.cpp: Compiling RRFunction.cpp: Compiling Line2D.cpp: Linking library /home/zh-ligg/work/meshSW/terrainBlockMesher-master/iwesol/nonOF/c++/lib/libolCppData.so: Compiling GnuplotFitInfo.cpp: |
g++ -MMD -ansi -Wall -Wextra -Werror -Wno-unused-parameter -fPIC -I/home/zh-ligg/work/meshSW/terrainBlockMesher-master/iwesol/nonOF/c++/src/plot/src -I/home/zh-ligg/work/meshSW/terrainBlockMesher-master/iwesol/nonOF/c++/src/io/src -I/home/zh-ligg/work/meshSW/terrainBlockMesher-master/iwesol/nonOF/c++/src/data/src -c /home/zh-ligg/work/meshSW/terrainBlockMesher-master/iwesol/nonOF/c++/src/plot/src/GnuplotFitInfo.cpp -o /home/zh-ligg/work/meshSW/terrainBlockMesher-master/iwesol/nonOF/c++/src/plot/obj/GnuplotFitInfo.o Compiling Plot.cpp: Compiling PlotableObject.cpp: Compiling PlotWriter.cpp: Compiling LogPlotWriter.cpp: Compiling PlotTableWriter.cpp: Compiling PlotHistogramWriter.cpp: Compiling PolarPlotPythonWriter.cpp: Compiling PolarPlotWriter.cpp: Linking library /home/zh-ligg/work/meshSW/terrainBlockMesher-master/iwesol/nonOF/c++/lib/libolCppPlot.so: |
It sais "cannot create directory ‘/home/zh-ligg/OpenFOAM/zh-ligg-2.3.1’: Permission denied" please resolve this problem first. |
true - however, if I try to create a dummy directory in /home/zh-ligg/OpenFOAM using: sudo mkdir dummyDir - it works. Just by running make it doesn't work executing "make OF2.3.1" with a sudo in advance, namely: sudo make OF2.3.1 it sais: If I use "make OF2.3.1" it starts compiling and stops at the point when it tries to create the above mentioned directory--> /home/zh-ligg/OpenFOAM/zh-ligg-2.3.1 This doesn't make too much sense to me, since with a sudo commant at before any command you should have root permissions. |
maybe try "sudo -s" alone first, this keeps you sudo for all commands that follow. And then "make OD2.3.1"? |
...and are you sure you sourced the file iwesol/etc/bashrc-2.3.1, after setting the variable "IWESOL", as described in README_INSTALL? |
the compiling worked (README_INSTALL Step 3) STEP 4, the doxygen doc gives this:
info: the terrainBlockMesher command appears after typing e.g. terra --> tab. But only as root. |
which geometry? (no attachment) In principle, the TBM projects from above - it cannot handle anything with holes or caves. |
can you see the three figures? |
ok, I can see them on the github site (not in the forwarded email). I am afraid there is not much hope for meshing this with the TBM... projection from above looks impossible. sorry |
ok, no worries. it's a great tool anyway! I might need it for another project later on. Therefore, do you have an idea what went wrong with the doxygen step? root@zhligg-HP-EliteDesk-800-G1-TWR:~/work/meshSW/terrainBlockMesher-master/iwesol# make doxygen
info: the terrainBlockMesher command appears after typing e.g. terra --> tab. But only as root. |
It seems you have not installed doxygen. |
Hi,
I got these errors when running make in the iwsol directory
1st line of errors: Entering directory '/opt/terrainBlockMesher-master/iwesol/nonOF/c++/src/io'
2nd line of errors: *** No rule to make target '/obj/IO.o', needed by 'all'. Stop.
etc.
etc.
etc.
...in the /obj/ dirctory there no IO.o file but there is one in the /src/ with extension .cpp; namely IO.cpp
Everything shoud be at its place, since I just downloaded the zip and unzipped it.
Info on installation:
OS: Ubuntu 14.10
OpenFOAM: 2.3.1
.bashrc - lines:
export IWESOL=/opt/terrainBlockMesher-master/iwesol
source $IWESOL/etc/bashrc-2.3.0
Thanks in advance for ur effort.
The text was updated successfully, but these errors were encountered: