I format a USB driver as a case-sensitive disk, copy the tar files into this driver, and then unzip the tar files.
I follow the instruction step by step until the last step. when I input source etc/bashrc, following error comes. Please give me some suggestions. -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.1.0/bin/foamEtcFile: No such file or directory -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.1.0/bin/foamCleanPath: No such file or directory -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.1.0/bin/foamCleanPath: No such file or directory -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.1.0/bin/foamCleanPath: No such file or directory -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.1.0/bin/foamCleanPath: No such file or directory -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.1.0/etc/config/settings.sh: No such file or directory -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.1.0/etc/config/aliases.sh: No such file or directory -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.1.0/bin/foamEtcFile: No such file or directory -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.1.0/bin/foamEtcFile: No such file or directory -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.1.0/bin/foamCleanPath: No such file or directory -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.1.0/bin/foamCleanPath: No such file or directory -bash: /Users/qinjie/OpenFOAM/OpenFOAM-2.1.0/bin/foamCleanPath: No such file or directory And then, I used following command to create a link to the USB dirver >> ln -sf /Volumes/OF OpenFOAM >> cd OpenFOAM >> cd OpenFOAM-2.1.0 >> source etc/bashrc Then, I can compile the files, but, it is very slow due to the limited usb speed. How can I create a sparse image from this USB driver? |
Quote:
|
Thank you for your kind help.
Here is another problem. I test the installation by running a tutorial (/incompressible/icoFoam/cavity), when I input 'paraFoam', following errors occur ------ FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers ./Allwclean ./Allwmake ------ when I build the PV3Readers, following errors occur ------ + '[' -d /Users/qinjie/OpenFOAM/ThirdParty-2.1.0/platforms/darwinIntel64Gcc46/paraview-3.12.0 -a -r /Users/qinjie/OpenFOAM/ThirdParty-2.1.0/platforms/darwinIntel64Gcc46/paraview-3.12.0 ']' ------ I built the ThirdParty-2.1.0 twice, and the paraFoam cannot be used. I install a built Qt4.8.1 (DMG file) and then install a built ParaView3.14 (DMG file). But, the paraFoam still cannot be used. I found an introduction about how to use pre-build ParaView for OpenFOAM, but, it is used for Linux, not Mac. I found this words in the instruction of this thread: ------ "As usual I didn't bother to get the PV3Reader (aka paraFoam) to compile. Use an up-to-date paraview from Kitware with the built in reader for OF" ------ I donot know what is that mean 'the built in reader for OF'. |
Quote:
Could anyone email me this pdf file? Thanks in advance! hellolegend@gmail.com |
Quote:
Nevertheless: create a file foo.foam (the extension is important) in your case folder and Paraview can open it (that is the built-in reader) |
Greetings to all!
Since you are all very busy and I had some time to spare, I asked Michael Plagge for permission to transcribe the pdf he posted here some time ago and I've finally got around to doing it: http://openfoamwiki.net/index.php/Ho...enFOAM_v21_Mac If anyone wants to improve the wiki page, feel free to do so, specially because I don't have a Mac :cool: I've also updated a bit the main category for Mac OS X: http://openfoamwiki.net/index.php/Ca...AM_on_Mac_OS_X If anyone wants to something like this in the future, namely copy-paste PDF stuff to a wiki page, some instructions are provided here: http://openfoamwiki.net/index.php/Ta...enFOAM_v21_Mac Best regards, Bruno PS: this ain't no April Fools' lie ;) |
Quote:
Great! Thank you so much for your help. |
I seem to doing fine with the ins ructions until I have to source the etc/bashrc file.
I get the error "-bash: ulimit: −n: invalid number". Anyone know how I can fix this? Cheers. |
Greetings Rob and welcome to the forum!
Run on your command line this command: Code:
ulimit −n 1024 Best regards, Bruno |
Quote:
I tried deleting the line altogether, but I got an error when compiling. |
Quote:
|
Quote:
|
Quote:
You can run that command after sourcing the file: Code:
. OpenFOAM/OpenFOAM-2.1.0/etc/bashrc |
2 Attachment(s)
Hey,
there should be an output of the current limit on the command line. I attach you a screenshot. If you set the ulimit, there should be no output, see second screenshot. Cheers, Michael |
Quote:
Could you have a look where it is with (lets look everywhere to be sure) grep -r ulimit $WM_PROJECT_DIR/etc/* and post the extract of the script (and state where you got the Mac-patches from) |
Hi Bernhard,
No need for that, because ulimit is being introduced manually, accordingly to the instructions from here: http://openfoamwiki.net/index.php/Ho...enFOAM_v21_Mac - search for "ulimit" ;) But like I wrote before, I don't have a Mac to fully test the instructions... :rolleyes: Best regards, Bruno |
Quote:
If cocopops has still problems, it might be a problem of his operating system. Concerning the manual, it worked exact the way I wrote it down. I am just trying to install the older 1.7.1 version which has a similar way. |
I'm fairly sure I got no error when trying to source it earlier, but when I got home (didn't want to compile it in public, laptop gets a bit noisy!" I got another error when trying to run './Allwmake'.
So I started again, and I'm back to the limit error. I understand I can set the value myself, but I'm not sure how I decide a value. Sorry for the questions, I'm not used to command line stuff (I know, maybe I'm not ready for OpenFOAM, but I want to give it a go), I usually just double-click things to run them, hah. |
Quote:
normally if you type Code:
ulimit -n 1024 Could you please tell us which version of OS X you're using? Have a nice evening. |
Hi Rob,
Quote:
Code:
. OpenFOAM/OpenFOAM-2.1.0/etc/bashrc Code:
. OpenFOAM/OpenFOAM-2.1.0/etc/bashrc Code:
./Allwmake > Allwmake.log 2>&1 If you want to keep your working paths and user names private, then before compressing the "Allwmake.log" file, use a text editor to search and replace all of the sensitive words. In the mean time, I'm going to do another review to the wiki page and put some additional sections on it, so it's easier to point people to it. edit: done! Best regards, Bruno |
All times are GMT -4. The time now is 20:20. |