|
[Sponsors] |
January 12, 2010, 18:16 |
|
#241 |
New Member
Join Date: Jan 2010
Posts: 28
Rep Power: 16 |
Hi guys
CedricVH I noticed your little addition for the updated karmic, so I added it before runnng the script. I am working on a Swedish version of Ubuntu. I ran the script and the funny thing is it worked itself through the list and then closed the terminal .....taking only five minutes tops? Have I done something wrong? Is it compiling even if the terminal is closed? Not seeing much activity from the processor? Sorry for so many questions...got my customer waiting for his computer...and he has just worked out that I am bookie56...LOL Can someone give me some clarity on this....Please! bookie56 |
|
January 13, 2010, 03:14 |
|
#242 |
New Member
Ruben Wetind
Join Date: Dec 2009
Location: Alnö Sweden
Posts: 6
Rep Power: 16 |
Hi all - and bookie56.
I'm sure CedricVH and wyldckat gave you a deadly virusscript - effectively eating all your customers computers up by now . So what happened after that bookie? Could you restart with better results? Calobra - the actual quite friendly "customer" |
|
January 13, 2010, 03:46 |
|
#243 |
Member
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16 |
Hi Bookie,
It's very strange because the installation on my notebook with intel T9300 takes almost 1hour and half and at the end the console doesn't close , Have you check the log file? Have you ceck the installation?
__________________
|
|
January 13, 2010, 04:40 |
|
#244 |
Member
Wolfram Kretzschmar
Join Date: Dec 2009
Posts: 71
Rep Power: 16 |
Hi,
try to run every step with $ processname 2>&1 | tee processnamelogfile That way you can observe all the messages (stdout and errout) while running and write them in a logfile at the same time. This might give further information, even after the strange closing of the terminal. Cheers Wolle |
|
January 13, 2010, 06:42 |
|
#245 | |
New Member
Join Date: Jan 2010
Posts: 28
Rep Power: 16 |
Hi guys
Thanks for your great response! I am at a loss to be able to say what I did wrong... I have just run ./foamInstallationTest and that came up with Quote:
But before that I had changed a couple of settings according to other info I had seen....might be that that is affecting the output now...? At the moment ...I feel like just reinstalling Ubuntu Karmic 64bit and follow this thread so that we have more chance of finding the problem... Wolle OK! I am no idiot but...can you show me how to devide up the script in smaller individual commands so that I see where to start. 83_Ale_83 Where do I find the log...so that we can look at that.. Calobra I will admit that the script went its cycle in about 5 minutes tops and then went back to user mode...waiting for next job...LOL I ran the script again and then it just went through it quickly and then shut the terminal... Could do with some input so that my customer don't send out a search party after his computer...LOL bookie56 |
||
January 13, 2010, 07:53 |
|
#246 |
Member
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16 |
If you use MadsR script is autogenerate inside the folder OpenFoam/OpenFoam-1.6.x ---> "make.log"
__________________
|
|
January 13, 2010, 08:54 |
|
#247 |
New Member
Join Date: Jan 2010
Posts: 28
Rep Power: 16 |
Hi 83_Ale_83
Thanks for the info...going to have a looksee. bookie56 |
|
January 13, 2010, 09:00 |
|
#248 |
New Member
Join Date: Jan 2010
Posts: 28
Rep Power: 16 |
Hi again
No log has been generated? I am going to do a reinastall to clean the decks and we can take it from there.. bookie56 |
|
January 13, 2010, 11:09 |
|
#249 | ||
New Member
Join Date: Jan 2010
Posts: 28
Rep Power: 16 |
Hi guys
Still no joy?!! I reinstalled Ubuntu but as I said before ...Swedish version. I did the standard update after install and then ran the script from a terminal by writing sudo and then pasting in the script. It ran for maximum 3 minutes and then went back to user again. The following is the last piece of the run...which is actually in English: Quote:
Quote:
Please, please give me so help ........ bookie56 |
|||
January 13, 2010, 11:22 |
|
#250 |
New Member
Join Date: Jan 2010
Posts: 28
Rep Power: 16 |
Hi guys
One more thing...there is no log either? bookie56 |
|
January 13, 2010, 11:45 |
|
#251 |
New Member
Ruben Wetind
Join Date: Dec 2009
Location: Alnö Sweden
Posts: 6
Rep Power: 16 |
-> bookie65
English version is totally ok for me. Just keep things as simple as possible. Workthings - Normally I do it all in English |
|
January 13, 2010, 11:49 |
|
#252 |
Member
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16 |
Hi,
No it doesn't depend on the language, I use linux Mint in italian and I haven't got problems... Maybe you can copy-paste "line by line" the script in the terminal and see where the script crush.
__________________
|
|
January 13, 2010, 16:00 |
|
#253 |
New Member
Join Date: Jan 2010
Posts: 28
Rep Power: 16 |
Hi guys
OK! I can say that the script is getting stuck for some reason? Let me try to give a proper account.... I reinstalled Ubuntu Karmic in English and didn't update Ubuntu...I just copied the first part of the script into a terminal and ran it... Code:
sudo apt-get install binutils-dev flex git git-core build-essential python-dev libqt4-dev libreadline5-dev wget zlib1g-dev cmake Code:
Processing triggers for libc-bin ... ldconfig deferred processing now taking place ruben@ruben-desktop:~$ I then ran individual bits and much more happened until it started compiling....well no evidence of that in the terminal but I can see the hard drive indicator blinking like a crazy women....LOL sorry, bad example...LOL. I am now going back to my Swedish install and see what gives. |
|
January 13, 2010, 20:55 |
|
#254 |
New Member
Join Date: Jan 2010
Posts: 28
Rep Power: 16 |
Hi again
I have reinstalled and updated Úbuntu with latest updates and then run the script again stage by stage and this is my read out after the test... Code:
Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: ruben-desktop OS: Linux version 2.6.31-17-generic ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/ruben/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/ruben/OpenFOAM/ruben-1.6.x no no $WM_THIRD_PARTY_DIR /home/ruben/OpenFOAM/ThirdParty-1.6.x yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /home/ruben/OpenFOAM/OpenFOAM-1.6.x yes yes yes $FOAM_APPBIN ...6.x/applications/bin/linux64GccDPOpt yes yes yes $FOAM_SITE_APPBIN ...nFOAM/site/1.6.x/bin/linux64GccDPOpt no no $FOAM_USER_APPBIN ...6.x/applications/bin/linux64GccDPOpt no no $WM_DIR .../ruben/OpenFOAM/OpenFOAM-1.6.x/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ...M/OpenFOAM-1.6.x/lib/linux64GccDPOpt yes yes yes $FOAM_SITE_LIBBIN ...nFOAM/site/1.6.x/lib/linux64GccDPOpt no no $FOAM_USER_LIBBIN ...FOAM/ruben-1.6.x/lib/linux64GccDPOpt no no $MPI_ARCH_PATH ...nmpi-1.3.3/platforms/linux64GccDPOpt yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- gcc 4.3.3 ...M/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/bin/gcc gzip 1.3.12 /bin/gzip tar 1.22 /bin/tar icoFoam 1.6.x ...penFOAM-1.6.x/applications/bin/linux64GccDPOpt/icoFoam ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. Critical systems ok. done. ruben@ruben-desktop:~/OpenFOAM/OpenFOAM-1.6.x$ I have never used such a program and my customer isn't that familiar with Linux yet. I can start a new thread for that if you want... bookie56 |
|
January 14, 2010, 03:33 |
|
#255 |
Senior Member
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 177
Rep Power: 18 |
@bookie56: It would be nice to know what really happend between installing Ubuntu and...installing it again...wierd. But, good thing it worked out. New thread would be a good idea :-) and don't forget the search button ;-)
/Mads
__________________
Online free airfoil-mesher for OpenFOAM here |
|
January 14, 2010, 04:04 |
|
#256 |
New Member
Join Date: Jan 2010
Posts: 28
Rep Power: 16 |
Hi MadsR
Yes, I agree about wanting to know what happened. The strange thing is when I tried, as suggested, to run the script in individual sections after running the whole script....couldn't get anything to happen? I am as confused as you by this.....but the script actually supplies the nescessary info to get the job done and that I thank you for. Of course, I will do some searching before posting a new thread. Thanks again for all the help! bookie56 |
|
January 16, 2010, 02:06 |
|
#257 | |
Member
Nugroho Adi
Join Date: Mar 2009
Location: norway
Posts: 79
Rep Power: 17 |
Quote:
I am curious why you write OpenFOAM-dev 1.6 ? for your Installation Script is there any new release for OF-dev ? as far as i know it is still 1.5-dev OpenFOAM-1.5-dev.General_2009-12-11.tgz see this : http://powerlab.fsb.hr/ped/kturbo/OpenFOAM/release/ |
||
January 22, 2010, 20:19 |
|
#258 |
New Member
Mike Wang
Join Date: Jan 2010
Posts: 2
Rep Power: 0 |
Hi! Mads,
Thank you for your OF install script. I have followed what you wrote in the script for Ubuntu 9. 10 for 32 bit and I got the problem after foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: ubuntu OS: Linux version 2.6.31-14-generic ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/ding/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/ding/OpenFOAM/ding-1.6.x no no $WM_THIRD_PARTY_DIR /home/ding/OpenFOAM/ThirdParty-1.6.x yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /home/ding/OpenFOAM/OpenFOAM-1.6.x yes yes yes $FOAM_APPBIN ...6.x/applications/bin/linux64GccDPOpt yes yes yes $FOAM_SITE_APPBIN ...nFOAM/site/1.6.x/bin/linux64GccDPOpt no no $FOAM_USER_APPBIN ...6.x/applications/bin/linux64GccDPOpt no no $WM_DIR /home/ding/OpenFOAM/OpenFOAM-1.6.x/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ...M/OpenFOAM-1.6.x/lib/linux64GccDPOpt yes yes yes $FOAM_SITE_LIBBIN ...nFOAM/site/1.6.x/lib/linux64GccDPOpt no no $FOAM_USER_LIBBIN ...nFOAM/ding-1.6.x/lib/linux64GccDPOpt no no $MPI_ARCH_PATH ...nmpi-1.3.3/platforms/linux64GccDPOpt yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- WARNING: gcc version does not match gcc supplied with this release of OpenFOAM Supplied version: 4.3.3 User version : 4.4.1 Minimum required: 4.3.1 gcc 4.4.1 WARNING: Conflicting installations: OpenFOAM settings : /home/ding/OpenFOAM/ThirdParty-1.6.x/gcc-4.3.3/platforms/linux64/bin/gcc current path : /usr/bin/gcc CRITICAL ERROR gzip 1.3.12 /bin/gzip tar 1.22 /bin/tar icoFoam WARNING: Conflicting installations: OpenFOAM settings : /home/ding/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/icoFoam current path : CRITICAL ERROR ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. The foam installation contains 2 critical error(s). Review the output for warning messages and consult the installation guide for trouble shooting. done. I read what you advised Aurel on page 3 and tried to solve it the same way, but it's frustrating only to see the same errors popping-out all the times. Could you tell me, who is totally newbie in the Linux world , how to solve this 2 critical errors. By the way I've installed the Linux 32 bit on Windows XP via Wubi. But in the warnings above of OpenFOAM settings it seems to be about Linux64. Can that be the reason (hopefully not )? Many thanks for your reply. regards, Mike Last edited by dwang; January 22, 2010 at 20:37. |
|
January 25, 2010, 09:49 |
|
#259 |
Senior Member
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 177
Rep Power: 18 |
Hi Mike.
Are you installing the 64 bit version of OF on a 32 bit Ubuntu? That won't work for sure. Are you sure you are using the right version of the script? /Mads
__________________
Online free airfoil-mesher for OpenFOAM here |
|
January 27, 2010, 06:42 |
|
#260 | |||
New Member
Mike Wang
Join Date: Jan 2010
Posts: 2
Rep Power: 0 |
Quote:
a wrong version may be most suspicious. I've checked it many times. It was the 32bit Version I was using. The only point I found is that the first link given at the command "wget" for the installation files is seemingly pretty the same for both the 32bit and 64bit versions, which confused me, if they are not meant to be the same file. They correspond the links officially given at the new OF website. 64bit: Quote:
Quote:
Regards, Mike |
||||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
install OpenFoam 1.6 by building source: how? | niudie | OpenFOAM Installation | 13 | April 26, 2011 01:48 |
How to Install OpenFOAM on 64 Ubuntu 9.04 | hansel | OpenFOAM Installation | 62 | March 19, 2010 15:43 |
install openfoam 1.6 on opensuse 11.0 | andresbh | OpenFOAM Installation | 8 | September 30, 2009 01:48 |
Install openFOAM 1.6 on debian 32bit - blockMesh: command not found | fossy | OpenFOAM Installation | 1 | August 28, 2009 05:06 |
Install of OpenFOAM 1.6 Error 1 Error 2 & run tutorial | potac | OpenFOAM Installation | 3 | August 27, 2009 10:04 |