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

[OpenFOAM.com] bashrc file doesn't source, windows

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By piu58

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 20, 2018, 06:01
Default bashrc file doesn't source, windows
  #1
New Member
 
Join Date: Apr 2018
Posts: 8
Rep Power: 8
Flexflix is on a distinguished road
Hi community
I've installed openfoam on windows and my problem now is that I can't source the bash file for some reason.
It is at the right place, but the terminal says that it can't find the file.

Has someone an idea what the problem is?

(my pc is a laptop, the gigabyte p57wv6, i have windows 10 on it, bash worked fine so far)

A picture of what the terminal say's:






(the first image with the ^C: https://preview.ibb.co/hn8a6n/2.jpg )

Last edited by Flexflix; April 20, 2018 at 08:37. Reason: better understandable image
Flexflix is offline   Reply With Quote

Old   April 20, 2018, 07:02
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
You have a ^C appended to your command. I don't know where it came form but the error message indicates it.
Flexflix likes this.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   April 20, 2018, 08:26
Default
  #3
New Member
 
Join Date: Apr 2018
Posts: 8
Rep Power: 8
Flexflix is on a distinguished road
@piu58 thank you for your reply

the ^C appeares because I tieped it at the end of my first command.
I tried a commed I have seen and the terminal said if I didn't miss understand that the bashrc file can't be found at that location.

But as seen in the next line with the list command, the fiel exstist.
As also seen with the third command when I listed all files in OpenFOAM/OpenFOAM-v1712/etc/

Now I wonder why the terminal at the beginning and with the ^C command says, that bashrc can't be found in that location and what I can do to solve the problem.
Flexflix is offline   Reply With Quote

Old   April 20, 2018, 17:36
Default Solved
  #4
New Member
 
Join Date: Apr 2018
Posts: 8
Rep Power: 8
Flexflix is on a distinguished road
Ok so the riddle is solved, I just had missspelled the path.
Flexflix is offline   Reply With Quote

Reply

Tags
bash on ubuntu on windows, bashrc, source


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
Custom Thermophysical Properties wsmith02 OpenFOAM 4 June 1, 2023 15:30
OpenFoam "Permission denied" and "command not found" problems. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 07:47
SparceImage v1.7.x Issue on MAC OS X rcarmi OpenFOAM Installation 4 August 14, 2014 07:42
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 12:32
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 04:23


All times are GMT -4. The time now is 05:59.