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

Double Slash bug during BuildingProc.

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 21, 2014, 11:01
Default Double Slash bug during BuildingProc.
  #1
New Member
 
Join Date: Sep 2013
Location: Germany
Posts: 18
Rep Power: 3
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, 12:13
Default
  #2
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,133
Rep Power: 20
alexeym will become famous soon enoughalexeym will become famous soon enough
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, 12:39
Default
  #3
New Member
 
Join Date: Sep 2013
Location: Germany
Posts: 18
Rep Power: 3
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, 20:23
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,521
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 05:52
Default
  #5
New Member
 
Join Date: Sep 2013
Location: Germany
Posts: 18
Rep Power: 3
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

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
Parallel User Defined Real Gas Model aeroman FLUENT 4 July 1, 2015 06:09
Continuing User Defined Real Gas Model issues aeroman FLUENT 5 May 1, 2015 02:57
New densitybased solver AeroFoam giulio_romanelli OpenFOAM Running, Solving & CFD 39 October 8, 2013 02:37
Missing math.h header Travis FLUENT 4 January 15, 2009 12:48
REAL GAS UDF brian FLUENT 6 September 11, 2006 08:23


All times are GMT -4. The time now is 00:57.