Hi, I downloaded cmake-2.4.
I downloaded cmake-2.4.3 and compiled it but OF thinks I have cmake-2.4.2. I think the newest version should be the better one, so how to get the right environment variables?
martin@laptop:~/OpenFOAM/linux> ls -l
drwxr-xr-x 6 martin users 144 2006-08-28 19:47 cmake-2.4.3
drwxr-xr-x 9 martin users 216 2006-08-28 19:22 gcc-4.1.1
-rw-r--r-- 1 martin users 31160295 2006-08-28 19:23 gcc-4.1.1.bin.tgz
drwxr-xr-x 8 martin users 192 2006-08-28 19:34 gdb-6.4
martin@laptop:~/OpenFOAM/linux> set | grep -i cmake
Note: version mismatch.
It looks like CMAKE_HOME is se
It looks like CMAKE_HOME is set in the following two files:
Changing the value there (in whichever file is appropriate to the shell you're using, though updating both is probably good policy) should fix things.
Great, thanks a lot... It seem
Great, thanks a lot... It seem to work... BTW: Did you grep through all the source code from ~/OpenFOAM (guess it takes a long time) or were you clever enough just to know where to look? Could be I could learn some hints here...
It doesn't take that long, may
It doesn't take that long, maybe five minutes or so. I've done it rather a few times. http://www.cfd-online.com/OpenFOAM_D...part/happy.gif
In this case, I was a little more clever. The main bashrc/cshrc files -- which are what set up the environment variables -- for OpenFOAM are in the .OpenFOAM-1.3 subdirectory (note the leading dot!) of the main OpenFOAM-1.3 directory. Those reference the .bashrc/.cshrc files in the main directory, as well as bashrc/cshrc files in the various subdirectories of the apps subdirectory of .OpenFOAM-1.3. So I knew it had to be in one of those, and it didn't take long to look.
Ok, thanks... I also knew that
Ok, thanks... I also knew that but got confused by the long scripts as I'm not too experienced with them and I didn't think of looking in the paraview-bashrc-file... The good thing is:
I think I now successfully got myself a compiled debug-version of OF with the newest tools:
j2sdk-1_4_2_12-linux-i586 and cmake-2.4.3
The cavity-case runs fine. So does paraview. But I'm astonished over how huge my OF directory is now:
Now I just have to debug something and test if it works completely... I'm not sure whether or not I can delete everything inside linuxSrc in order to save some space, but so far it isn't that important (I have 10 gigs free space)...
|All times are GMT -4. The time now is 01:43.|