CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   Problem Open foam 2.1.1 Wubi 12.04 (http://www.cfd-online.com/Forums/openfoam-installation/110085-problem-open-foam-2-1-1-wubi-12-04-a.html)

leo_NM December 3, 2012 16:45

Problem Open foam 2.1.1 Wubi 12.04
 
Hey

I'm trying to install OF 2.11 on my laptop with Wubi running ubuntu 12.04. Everything works perfectly on the installation but when I copy the "Source /opt/openfoam211/etc/bashrc" line in the bashrc archive I get one error message on the terminal telling me that one syntax error is happening and the icoFoam -help comand do not show the correrct answer.

how can I fix it ?


thanks

wyldckat December 3, 2012 16:48

Greetings leo_NM,

A transcript of the actual error message would come in handy... but if you did write in "~/.bashrc" the line:
Quote:

Code:

Source /opt/openfoam211/etc/bashrc

Then change the first "S" a lower case "s":
Code:

source /opt/openfoam211/etc/bashrc
Best regards,
Bruno

leo_NM December 4, 2012 13:56

1 Attachment(s)
It was already in lower case.

the image shows the message and the archive.

thanks

wyldckat December 4, 2012 17:38

:eek: An image is clearly worth a thousand words!

OK, there are two problems that I can see:
  1. It's missing a space between "source" and "/opt".
  2. This line you're adding should be on it's own. In other words, it should look something like this:
    Code:

    fi

    source /opt/openfoam211/etc/bashrc


leo_NM December 5, 2012 08:19

Quote:

Originally Posted by wyldckat (Post 395782)
:eek: An image is clearly worth a thousand words!

OK, there are two problems that I can see:
  1. It's missing a space between "source" and "/opt".
  2. This line you're adding should be on it's own. In other words, it should look something like this:
    Code:

    fi

    source /opt/openfoam211/etc/bashrc


thanks !! It Worked !!!!


All times are GMT -4. The time now is 12:16.