CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

Allwmake path error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 6, 2012, 15:24
Unhappy Allwmake path error
  #1
New Member
 
Ima
Join Date: Mar 2012
Posts: 8
Rep Power: 5
kiski is on a distinguished road
Hi all,
I have problems with the environment variables when running ./Allwmake. I know this problem has been posted many times, but I can't solve it. I am quite new in Ubuntu, so I apply for patiennce

I have tried to install open foam in two directories (I prefer /usr/local but I also tried in Home):
/usr/local/OpenFoam (and make a chown for permisions)
~/OpenFoam


In none of them worked out. I followed this steps

1. I downloaded openFoam and ThirdParty Source Packs in the mentioned directories above
2. I unpacked
tar xzf OpenFOAM-2.1.0.tgz
tar xzf
ThirdParty-2.1.0.tgz
3. I installed all the dependencies for ubuntu 11.04
http://www.openfoam.org/download/source.php
4. I hadded the line below to the end of ~/.bashrc file (I will only continue posting the installation in my home directory)
...
source $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc

5. I tried typing "source $HOME/.bashrc" in terminal but responds "No such a file or directory". I tried with "source ~/.bashrc" and the same output. I don't know why.

6. I execute the foamSystemCheck script and it is fine
System check: PASS
==================
Continue OpenFOAM installation.

7. Now, I put this in the Terminal
...Aspire-5742:~/OpenFoam/OpenFOAM-2.1.0$ ./Allwmake
./Allwmake: 9: wmakeCheckPwd: not found
Error: Current directory is not $WM_PROJECT_DIR
The environment variables are inconsistent with the installation.
Check the OpenFOAM entries in your dot-files and source them.

I have looked arround in posts and tried several things on my own, but I feel useless.
Can anybody help me, please?
kiski is offline   Reply With Quote

Old   March 6, 2012, 15:54
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Ima and welcome to the forum!

By what I understand, here are the steps I suggest:
  1. Check if ".bashrc" exists:
    Code:
    cd
    pwd
    ls -l .bashrc
    These jump to your home folder, then show the current folder so you can see if it is really your home folder and then show the ".bashrc", if it exists.
  2. If it does exist, then edit it again. Remove any lines that refer to OpenFOAM and/or comment any other lines you might have added but still need them around.
    Save and close the file.
  3. Try sourcing it again:
    Code:
    source .bashrc
    If there is still an error, check if source is a proper command:
    Code:
    type source
    which source
    The first one should return:
    Code:
    source is a shell builtin
    And the second one should return nothing.
  4. If it looks like it's working, then check if OpenFOAM's "bashrc" file exists or not:
    Code:
    ls -l $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
    If it does, then run:
    Code:
    source $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
    Any errors here?
Best regards,
Bruno

Last edited by wyldckat; March 6, 2012 at 15:55. Reason: had a messed up phrase in point #1
wyldckat is offline   Reply With Quote

Old   March 6, 2012, 19:06
Default
  #3
New Member
 
Ima
Join Date: Mar 2012
Posts: 8
Rep Power: 5
kiski is on a distinguished road
Interesting. I did as you suggested. Here it goes.
1.
Code:
           ima@ima-Aspire-5742:~$ cd
           ima@ima-Aspire-5742:~$ pwd
           /home/ima
           ima@ima-Aspire-5742:~$ ls -l .bashrc
           -rw-r--r-- 1 ima ima 3421 2012-03-06 19:23 .bashrc
3.
Code:
ima@ima-Aspire-5742:~$ source .bashrc 
bash: /home/ima/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc: No such file or directory
ima@ima-Aspire-5742:~$ type source
source is a shell builtin
And which source doesn't return anything
4.
Code:
ima@ima-Aspire-5742:~$ ls -l $HOME/OpenFoam/OpenFOAM-2.1.0/etc/bashrc
-rw-r----- 1 ima ima 7226 2011-11-24 16:59 /home/ima/OpenFoam/OpenFOAM-2.1.0/etc/bashrc
And here it comes the strange thing. All the files not found they do exist. I opened them with gedit

Code:
ima@ima-Aspire-5742:~$ source $HOME/OpenFoam/OpenFOAM-2.1.0/etc/bashrc
bash: /home/ima/OpenFOAM/OpenFOAM-2.1.0/bin/foamEtcFile: No such file or directory
bash: /home/ima/OpenFOAM/OpenFOAM-2.1.0/bin/foamCleanPath: No such file or directory
bash: /home/ima/OpenFOAM/OpenFOAM-2.1.0/bin/foamCleanPath: No such file or directory
bash: /home/ima/OpenFOAM/OpenFOAM-2.1.0/bin/foamCleanPath: No such file or directory
bash: /home/ima/OpenFOAM/OpenFOAM-2.1.0/etc/config/settings.sh: No such file or directory
bash: /home/ima/OpenFOAM/OpenFOAM-2.1.0/etc/config/aliases.sh: No such file or directory
bash: /home/ima/OpenFOAM/OpenFOAM-2.1.0/bin/foamEtcFile: No such file or directory
bash: /home/ima/OpenFOAM/OpenFOAM-2.1.0/bin/foamEtcFile: No such file or directory
bash: /home/ima/OpenFOAM/OpenFOAM-2.1.0/bin/foamCleanPath: No such file or directory
bash: /home/ima/OpenFOAM/OpenFOAM-2.1.0/bin/foamCleanPath: No such file or directory
bash: /home/ima/OpenFOAM/OpenFOAM-2.1.0/bin/foamCleanPath: No such file or directory
kiski is offline   Reply With Quote

Old   March 7, 2012, 04:27
Default
  #4
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 6
anon_a is on a distinguished road
If you check the differences between
Code:
ima@ima-Aspire-5742:~$ source .bashrc 
bash: /home/ima/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc: No such file or directory
and
Code:
ima@ima-Aspire-5742:~$ ls -l $HOME/OpenFoam/OpenFOAM-2.1.0/etc/bashrc
-rw-r----- 1 ima ima 7226 2011-11-24 16:59 /home/ima/OpenFoam/OpenFOAM-2.1.0/etc/bashrc
you may notice a difference in the capital letters.
OpenFOAM is not the same as OpenFoam. Quite common mistake.


EDIT: To make my post more clear, you should have installed in $HOME/OpenFOAM, while you installed in $HOME/OpenFoam.
anon_a is offline   Reply With Quote

Old   March 7, 2012, 07:10
Default
  #5
New Member
 
Ima
Join Date: Mar 2012
Posts: 8
Rep Power: 5
kiski is on a distinguished road
OMG!! I can't believe I spent so much time because of this. I deleted and started again so many times!
thank both of you anon_a and Wyldckat
kiski is offline   Reply With Quote

Old   March 22, 2012, 08:52
Default
  #6
Member
 
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 5
Claudio87 is on a distinguished road
Hello everybody!

I'm new in this forum and I've to start by saying that I'm also new about Linux (I'm working on Debian, Squeeze).
I found this discussion because I have the same problem of Ima, only that mine isn't a problem of "names" of the folders. Infact I have:

claudio87@PC-Claudio:~$ source .bashrc
bash: source*/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc: No such file or directory
claudio87@PC-Claudio:~$ ls -l $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
-rw-r----- 1 claudio87 claudio87 7261 21 mar 12.11 /home/claudio87/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc

They are the same!
So, it seems that the directory exists, only that it isn't seen!

I tried to do what Bruno suggest in the second post, and there are no errors!!

With the line
source*$HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
in $HOME/.bashrc
I obtain this:

[
claudio87@PC-Claudio:~/OpenFOAM/OpenFOAM-2.1.0$ cd
claudio87@PC-Claudio:~$ pwd
/home/claudio87
claudio87@PC-Claudio:~$ ls -l .bashrc
-rw-r--r-- 1 claudio87 claudio87 3235 22 mar 12.58 .bashrc

claudio87@PC-Claudio:~$ source .bashrc
bash: source*/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc: No such file or directory
]

Without the line:
[
claudio87@PC-Claudio:~$ source .bashrc
#returns nothing

#and then
claudio87@PC-Claudio:~$ ls -l $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
-rw-r----- 1 claudio87 claudio87 7261 21 mar 12.11 /home/claudio87/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
claudio87@PC-Claudio:~$ source $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
#with no errors back!
]
So, just to try, I trew the ./Allwmake
but now I obtain only a lot of compilation errors of this type:

'make: *** [ --- ] Error 2' or 'Error 1'
with at the end
'make: Target `application' not remade because of errors.'

Can anybody help me, please?!
Thanks a lot!
Claudio87 is offline   Reply With Quote

Old   March 22, 2012, 08:53
Default
  #7
Member
 
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 5
Claudio87 is on a distinguished road
Hello everybody!

I'm new in this forum and I've to start by saying that I'm also new about Linux (I'm working on Debian, Squeeze).
I found this discussion because I have the same problem of Ima, only that mine isn't a problem of "names" of the folders. Infact I have:

claudio87@PC-Claudio:~$ source .bashrc
bash: source*/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc: No such file or directory
claudio87@PC-Claudio:~$ ls -l $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
-rw-r----- 1 claudio87 claudio87 7261 21 mar 12.11 /home/claudio87/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc

They are the same!
So, it seems that the directory exists, only that it isn't seen!

I tried to do what Bruno suggest in the second post, and there are no errors!!

With the line
source*$HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
in $HOME/.bashrc
I obtain this:

[
claudio87@PC-Claudio:~/OpenFOAM/OpenFOAM-2.1.0$ cd
claudio87@PC-Claudio:~$ pwd
/home/claudio87
claudio87@PC-Claudio:~$ ls -l .bashrc
-rw-r--r-- 1 claudio87 claudio87 3235 22 mar 12.58 .bashrc

claudio87@PC-Claudio:~$ source .bashrc
bash: source*/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc: No such file or directory
]

Without the line:
[
claudio87@PC-Claudio:~$ source .bashrc
#returns nothing

#and then
claudio87@PC-Claudio:~$ ls -l $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
-rw-r----- 1 claudio87 claudio87 7261 21 mar 12.11 /home/claudio87/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
claudio87@PC-Claudio:~$ source $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
#with no errors back!
]
So, just to try, I trew the ./Allwmake
but now I obtain only a lot of compilation errors of this type:

'make: *** [ --- ] Error 2' or 'Error 1'
with at the end
'make: Target `application' not remade because of errors.'

Can anybody help me, please?!
Thanks a lot!
Claudio87 is offline   Reply With Quote

Old   March 22, 2012, 09:51
Default
  #8
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 6
anon_a is on a distinguished road
Replace the star in
Code:
source*/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
by a space character and let us know about the results.
anon_a is offline   Reply With Quote

Old   March 22, 2012, 10:30
Default
  #9
Member
 
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 5
Claudio87 is on a distinguished road
I obtain again this:

bash: source*/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc: No such file or directory
Claudio87 is offline   Reply With Quote

Old   March 22, 2012, 10:31
Default
  #10
Member
 
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 5
Claudio87 is on a distinguished road
I obtain again this:

bash: source*/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc: No such file or directory
Claudio87 is offline   Reply With Quote

Old   March 22, 2012, 11:03
Default
  #11
Member
 
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 5
Claudio87 is on a distinguished road
Replacing the star with the space

source /home/claudio87/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc

the terminal returns nothing.
And this happen in both cases, if I put or not the line

source*$HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc

in my $HOME/.bashrc file.

I don't know if it's important or not, but when I edit $HOME/.bashrc I have some errors:
error: line 3: bad flagvector
error: line 7: bad flagvector
error: line 10: bad flagvector
error: line 12: bad flagvector
error: line 14: bad flagvector
error: line 16: bad flagvector
error: line 21: bad flagvector
error: line 26: bad flagvector
error: line 3: bad flagvector
error: line 7: bad flagvector
error: line 10: bad flagvector
error: line 12: bad flagvector
error: line 14: bad flagvector
error: line 16: bad flagvector
error: line 21: bad flagvector
error: line 26: bad flagvector
Claudio87 is offline   Reply With Quote

Old   March 22, 2012, 11:45
Default
  #12
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 6
anon_a is on a distinguished road
I should have explained this in more detail I guess.

There is no such thing as
Code:
source*$HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
The correct command would be
Code:
source $HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc
where "source" is the name of the command and "$HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc" is the name of a file.
You have to separate them with a space character, always. The asterisk is completely wrong, no matter where you write it (in the terminal window or in the .bashrc file).

The message "No such file or directory" in this case means that it is looking for the command "source*$HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc" (which does not exist) instead of the command "source" with the file argument "$HOME/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc".

Quote:
Replacing the star with the space

source /home/claudio87/OpenFOAM/OpenFOAM-2.1.0/etc/bashrc

the terminal returns nothing.
This is indeed the correct behaviour.
anon_a is offline   Reply With Quote

Old   March 22, 2012, 11:58
Default
  #13
Member
 
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 5
Claudio87 is on a distinguished road
Understood, and this is what I obtain:

claudio87@PC-Claudio:~$ source /home/claudio87/OpenFOAM/OpenFOAM-2.1.0/ect/bashrc
bash: /home/claudio87/OpenFOAM/OpenFOAM-2.1.0/ect/bashrc: No such file or directory

without star.
Claudio87 is offline   Reply With Quote

Old   March 22, 2012, 12:00
Default
  #14
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 6
anon_a is on a distinguished road
Change ect to etc in the last command... :-D
anon_a is offline   Reply With Quote

Old   March 22, 2012, 12:12
Default
  #15
Member
 
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 5
Claudio87 is on a distinguished road
:-o........ you're right!

Now it's ok...about this!
I tried with ./Allwmake and now appears this kind of compilation errors:

'make: *** [ --- ] Error 2' or 'Error 1'
with at the end
'make: Target `application' not remade because of errors.

Then, I tried to run foamInstallationTest and the result is:

claudio87@PC-Claudio:~/OpenFOAM/OpenFOAM-2.1.0/bin$ ./foamInstallationTest
Executing ./foamInstallationTest:


Checking basic setup...
-------------------------------------------------------------------------------
Shell: bash
Host: PC-Claudio
OS: Linux version 2.6.32-5-amd64
-------------------------------------------------------------------------------


Checking main OpenFOAM env variables...
-------------------------------------------------------------------------------
Environment_variable Set_to_file_or_directory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_INST_DIR /home/claudio87/OpenFOAM yes yes
$WM_PROJECT_USER_DIR /home/claudio87/OpenFOAM/claudio87-2.1.0 no no
$WM_THIRD_PARTY_DIR .../claudio87/OpenFOAM/ThirdParty-2.1.0 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/claudio87/OpenFOAM/OpenFOAM-2.1.0 yes yes yes

$FOAM_APPBIN ...-2.1.0/platforms/linux64GccDPOpt/bin yes yes yes
$FOAM_SITE_APPBIN .../2.1.0/platforms/linux64GccDPOpt/bin no no
$FOAM_USER_APPBIN ...-2.1.0/platforms/linux64GccDPOpt/bin no no
$WM_DIR ...udio87/OpenFOAM/OpenFOAM-2.1.0/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 ...-2.1.0/platforms/linux64GccDPOpt/lib yes yes yes
$FOAM_SITE_LIBBIN .../2.1.0/platforms/linux64GccDPOpt/lib no no
$FOAM_USER_LIBBIN ...-2.1.0/platforms/linux64GccDPOpt/lib no no
$MPI_ARCH_PATH /usr/lib/openmpi yes yes yes
-------------------------------------------------------------------------------


Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
flex 2.5.35 /usr/bin/flex
gcc 4.4.5 /usr/bin/gcc
gzip 1.3.12 /bin/gzip
tar 1.23 /bin/tar
icoFoam
WARNING: Conflicting installations:
OpenFOAM settings : /home/claudio87/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/icoFoam
current path :
CRITICAL ERROR

-------------------------------------------------------------------------------


Summary
-------------------------------------------------------------------------------
Base configuration ok.
The foam installation contains 1 critical error(s).

Review the output for warning messages and consult
the installation guide for troubleshooting.

Done



Which is this 'critical error'? or better, what I can do now to resolve it?!

(thanks for your patience, but are 3 days that I try to install it!!)
Claudio87 is offline   Reply With Quote

Old   March 22, 2012, 12:24
Default
  #16
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 6
anon_a is on a distinguished road
I am not sure I can help, but doesn't anything appear before 'make: *** [ --- ] Error 2' or 'Error 1'? Usually there is an explanation about the error before that! That is, you are giving incomplete information.

Perhaps you could post here a (small!) part of the compilation process around the errors.
anon_a is offline   Reply With Quote

Old   March 22, 2012, 12:36
Default
  #17
Member
 
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 5
Claudio87 is on a distinguished road
This is related to the last part of the process.


make[1]: Entering directory `/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/applications/solvers/stressAnalysis'
make[2]: Entering directory `/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/applications/solvers/stressAnalysis/solidDisplacementFoam'
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/src/finiteVolume/lnInclude -ItractionDisplacement/lnInclude -IlnInclude -I. -I/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude -I/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/tractionDisplacementFvPatchVectorField.o Make/linux64GccDPOpt/solidDisplacementFoam.o -L/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib \
-lfiniteVolume -lOpenFOAM -ldl -lm -o /home/claudio87/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/solidDisplacementFoam
/usr/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[2]: *** [/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/solidDisplacementFoam] Error 1
make[2]: Leaving directory `/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/applications/solvers/stressAnalysis/solidDisplacementFoam'
make[1]: *** [solidDisplacementFoam] Error 2
make[2]: Entering directory `/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam'
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/src/finiteVolume/lnInclude -ItractionDisplacementCorrectionStress -I../solidDisplacementFoam -IlnInclude -I. -I/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude -I/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/tractionDisplacementCorrectionFvPatchVectorField.o Make/linux64GccDPOpt/solidEquilibriumDisplacementFoam.o -L/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/lib \
-lfiniteVolume -lOpenFOAM -ldl -lm -o /home/claudio87/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/solidEquilibriumDisplacementFoam
/usr/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[2]: *** [/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64GccDPOpt/bin/solidEquilibriumDisplacementFoam] Error 1
make[2]: Leaving directory `/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam'
make[1]: *** [solidEquilibriumDisplacementFoam] Error 2
make[1]: Target `application' not remade because of errors.
make[1]: Leaving directory `/home/claudio87/OpenFOAM/OpenFOAM-2.1.0/applications/solvers/stressAnalysis'
make: *** [stressAnalysis] Error 2
make: Target `application' not remade because of errors.


It seems to repeat the same kind of error with all the previous directories.
But I can't understand which are the errors...
Claudio87 is offline   Reply With Quote

Old   March 22, 2012, 12:49
Default
  #18
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 6
anon_a is on a distinguished road
Sorry, I can't give you any definite help with that. I am sure that Bruno (wyldcat) would have the answer for this in 2 seconds :-)

Just some questions that might help (but don't count on it):
(i) have you restarted your console after writing the .bashrc line?
(ii) have you tried before to re-install OpenFOAM multiple times? because that's what "Conflicting installations" sounds like to me. Maybe you installed in different directories and forgot to remove the second .bashrc line? you can only have one OpenFOAM path in .bashrc
anon_a is offline   Reply With Quote

Old   March 22, 2012, 13:10
Default
  #19
Member
 
Claudio
Join Date: Mar 2012
Location: Milano, Italy
Posts: 49
Rep Power: 5
Claudio87 is on a distinguished road
(i) I restarted the console, but the result doesn't change.
(ii) This is the first time that I try to install OpenFOAM (even if I tried to run the Allwmake file lots of times...); in any case, I'm sure I have only one directory for OpenFOAM.
Claudio87 is offline   Reply With Quote

Old   March 22, 2012, 13:22
Default
  #20
Senior Member
 
Join Date: Mar 2011
Posts: 174
Rep Power: 6
anon_a is on a distinguished road
Check this thread:
OpenFoam 2.0.0 installation
He was also using Debian-Squeeze, got the same message and was missing a package after all. Have you checked that all the packages mentioned in the instructions are properly installed?
anon_a is offline   Reply With Quote

Reply

Tags
allwmake, installation, ubuntu 11.04

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Native ParaView Reader Bugs tj22 OpenFOAM Paraview & paraFoam 266 July 1, 2015 02:00
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 42 May 14, 2012 20:48
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
user defined function cfduser CFX 0 April 29, 2006 10:58


All times are GMT -4. The time now is 06:43.