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

[OpenFOAM.org] sourcing bashrc in ksh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 8, 2017, 08:36
Default sourcing bashrc in ksh
  #1
Senior Member
 
Join Date: Sep 2013
Posts: 353
Rep Power: 21
Bloerb will become famous soon enough
I want to compile OpenFOAM-dev on a SL cluster. I changed the Installation path and tried sourcing the bashrc. I get the following message:
Code:
-ksh: .[45]: .[73]: declare: not found [No such file or directory]
There is also openfoam 4.0 installed on this cluster. When loading the module for it one gets the error
Code:
-ksh[401]: eval[1]: .[45]: .[73]: whence: -t: unknown option
Usage: whence [-afpqv] name  ...
It works without any problems though, compiling solvers and running simulations is not a problem. I also do not get these errors when I switch from ksh to bash. Since the bashrc tells me that it "Should be usable by any POSIX-compliant shell (eg, ksh)" i can't understand these messages. The standard login shell for the users is ksh, hence I'd like to remove those messages. Maybe someone can help.
Bloerb is offline   Reply With Quote

Old   April 8, 2017, 08:42
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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
Quick answer: Please report this on the bug tracker: https://bugs.openfoam.org/my_view_page.php

I have also read that statement for ksh, but I've never used it myself, so I was assuming that someone else on the contributors list were testing with it. Please do report this on the bug tracker and I'll try to look into this as soon as I can too.
__________________
wyldckat is offline   Reply With Quote

Reply


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
Source FE3 bashrc on Parallel Run cdm OpenFOAM Installation 10 August 12, 2014 15:35
Installing OpenFOAM 1.6-ext on Ubuntu 11.10 immortality OpenFOAM Installation 17 May 6, 2013 18:43
OF 1.6-ext and metisDecomp Problem blaise OpenFOAM Installation 1 November 16, 2011 04:57
Installing OpenFOAM 1.6 on ubuntu 9.10 nabeels OpenFOAM Installation 32 May 10, 2010 04:09
Trouble sourcing the bashrc for 15x sripplinger OpenFOAM Installation 5 April 7, 2009 15:06


All times are GMT -4. The time now is 04:34.