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

Double Slash bug during BuildingProc.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2014, 10:01
Default Double Slash bug during BuildingProc.
  #1
New Member
 
Join Date: Sep 2013
Location: Germany
Posts: 18
Rep Power: 12
MangoMango is on a distinguished road
Hi,

actually I'm trying to build&install OpenFOAM 2.3.0 on a cluster. During the building processes the making script is using "//" behind the defined foamInstall path in the pathcommands to includefiles and libraryfiles (e.g.: -I/mypath//OpenFOAM...InInclude). I changed it to foamInstall=/mypath/$WM_PROJECT ...
Software on the system:
gcc4.7.3
kernel2.6.32-5-amd64 (debian squeezy)
make 3.81

Even if I use the preset-settings this error occurs.

I really don't know what I've to do...so I would be really glad if someone could give me a hint.

Kind Regards
Alex
MangoMango is offline   Reply With Quote

Old   February 21, 2014, 11:13
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
Hi,

I guess between these two slashes environment variable should be (and as it is not set it is expanded to empty string and you've got two slashes). You've provided not enough information for more suggestions.
alexeym is offline   Reply With Quote

Old   February 21, 2014, 11:39
Default
  #3
New Member
 
Join Date: Sep 2013
Location: Germany
Posts: 18
Rep Power: 12
MangoMango is on a distinguished road
Hi Alexey,

thank you very much for your answer. Indeed, it is difficult to describe this problem, because I'm new to the cluster.

I followed to this proccedings http://levlafayette.com/node/357 .

The only changes I made are

foamInstall=/hera/fmt/alex/src/$WM_PROJECT

and
WM_MPLIB=SYSTEMOPENMPI

Despite of the double slash the dependency making process seems to be normal. e.g.: -I/hera/fmt/alex/src//OpenFOAM-2.3.0/src/OSspecific/POSIX/lnIncude

Hopefully this information will help you to guess the problem. Otherwise please tell me which information do you need?

Thank you so far

Best regards,
Alex
MangoMango is offline   Reply With Quote

Old   March 1, 2014, 19:23
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings to all!

@Alex: The big question is, where exactly did you define this line :
Code:
foamInstall=/hera/fmt/alex/src/$WM_PROJECT
Because it should have been defined in line #45, namely here: https://github.com/OpenFOAM/OpenFOAM...etc/bashrc#L45
If not, then it's the same as this:
Code:
foamInstall=/hera/fmt/alex/src/
which would explain why you got the double slashes.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 3, 2014, 04:52
Default
  #5
New Member
 
Join Date: Sep 2013
Location: Germany
Posts: 18
Rep Power: 12
MangoMango is on a distinguished road
Hi Bruno,

thank you very much. I changed the line in the etc/bashrc script. The error disappeared after a rebuild from scratch. With a newer gcc version.

Up to now it seems to work fine.

Best regards,
Alex


@all thank you for all your suggestions
MangoMango is offline   Reply With Quote

Reply

Tags
bug, building, openfoam


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Continuing User Defined Real Gas Model issues aeroman FLUENT 6 April 8, 2016 03:34
New densitybased solver AeroFoam giulio_romanelli OpenFOAM Running, Solving & CFD 48 January 15, 2016 08:20
Parallel User Defined Real Gas Model aeroman FLUENT 4 July 1, 2015 06:09
Missing math.h header Travis FLUENT 4 January 15, 2009 11:48
REAL GAS UDF brian FLUENT 6 September 11, 2006 08:23


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