|
[Sponsors] |
January 24, 2018, 17:45 |
Gedit and blueCFD-Core-2017
|
#1 |
New Member
Douglas Jansen
Join Date: Jan 2018
Posts: 8
Rep Power: 8 |
Hi Guys:
I am an OpenFoam newbie having just installed blueCFD-Core-2017 on my windows 7 PC. I notice that no text editor is included and I wonder if anyone could tell me how to download and install Gedit. Thanks Further comment - Jan 25, 2018 Although Notepad2.exe is installed in the Addons folder when I type 'nano' at the $ prompt I get the message 'bash: notepad2 command not found'. Last edited by Doug_Jansen; January 25, 2018 at 15:50. |
|
January 25, 2018, 13:09 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Douglas Jansen and welcome to the forum!
If I remember correctly, there is a text editor that has always been provided with all blueCFD-Core versions, namely Notepad2 is installed by default (you'll find it if you take a look into the release notes: http://bluecfd.github.io/Core/ReleaseNotes/ ) and you can access it at least through 3 different ways:
That said, we do have a couple of tutorial videos already for blueCFD-Core, both available on the User Guide page: http://bluecfd.github.io/Core/UserGuide/ - Go to the section "Getting started with blueCFD-Core" and you should find the ~40 minute video for blueCFD-Core 2016, but it should still be nearly the same as how blueCFD-Core 2017 works. Best regards, Bruno
__________________
Last edited by wyldckat; January 25, 2018 at 20:08. Reason: added missing line break |
|
January 25, 2018, 20:18 |
|
#3 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quote:
Code:
echo $PATH Here is the text I copied from the terminal, but doesn't show the line breaks here, because the raw output of the "PATH" variable does not have any line breaks: Code:
Setting environment for OpenFOAM 5.x mingw-w64 Double Precision (of5-64), using MSMPI71 - please wait... Environment is now ready. Notes: - You can change between installed versions by running: ofmenu - You can change to other predefined versions by running: ofmenuNew Bruno Santos@laptop MINGW64 OpenFOAM-5.x ~ $ echo $PATH /home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64Gcc/gperftools-svn/bin:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64Gcc/MS-MPI-7.1/bin:/home/ofuser/blueCFD/ofuser-of5/platforms/mingw_w64GccDPInt32Opt/bin:/home/ofuser/blueCFD/site/5.x/platforms/mingw_w64GccDPInt32Opt/bin:/home/ofuser/blueCFD/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/bin:/home/ofuser/blueCFD/OpenFOAM-5.x/bin:/home/ofuser/blueCFD/OpenFOAM-5.x/wmake:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ofuser/AddOns/notepad2:/home/ofuser/AddOns/ParaView/bin:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64Gcc/gperftools-svn/lib:/home/ofuser/blueCFD/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/lib/MS-MPI-7.1:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64GccDPInt32/lib/MS-MPI-7.1:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64Gcc/MS-MPI-7.1/lib:/home/ofuser/blueCFD/ofuser-of5/platforms/mingw_w64GccDPInt32Opt/lib:/home/ofuser/blueCFD/site/5.x/platforms/mingw_w64GccDPInt32Opt/lib:/home/ofuser/blueCFD/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/lib:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64GccDPInt32/lib:/home/ofuser/blueCFD/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/lib/dummy: |
||
January 25, 2018, 21:25 |
Notepad2 cannot be launched from within blueCFD-Core-2017
|
#4 |
New Member
Douglas Jansen
Join Date: Jan 2018
Posts: 8
Rep Power: 8 |
when i type echo $PATH I get
/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64Gcc/gperftools-svn/bin:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64Gcc/MS-MPI-7.1/bin:/home/ofuser/blueCFD/ofuser-of5/platforms/mingw_w64GccDPInt32Opt/bin:/home/ofuser/blueCFD/site/5.x/platforms/mingw_w64GccDPInt32Opt/bin:/home/ofuser/blueCFD/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/bin:/home/ofuser/blueCFD/OpenFOAM-5.x/bin:/home/ofuser/blueCFD/OpenFOAM-5.x/wmake:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ofuser/AddOns/notepad2:/home/ofuser/AddOns/ParaView/bin:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64Gcc/gperftools-svn/lib:/home/ofuser/blueCFD/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/lib/MS-MPI-7.1:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64GccDPInt32/lib/MS-MPI-7.1:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64Gcc/MS-MPI-7.1/lib:/home/ofuser/blueCFD/ofuser-of5/platforms/mingw_w64GccDPInt32Opt/lib:/home/ofuser/blueCFD/site/5.x/platforms/mingw_w64GccDPInt32Opt/lib:/home/ofuser/blueCFD/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/lib:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64GccDPInt32/lib:/home/ofuser/blueCFD/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/lib/dummy What should I do next? |
|
January 25, 2018, 21:37 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: This is very strange, because the output is identical...
What do the following two commands give you? Code:
which notepad2 which notepad2.exe Side note: What I meant by "write a new comment", was that you can write a new post in the same discussion thread. I've moved your latest post to this thread, so that we can keep the discussion here. |
|
January 26, 2018, 00:12 |
|
#6 |
New Member
Douglas Jansen
Join Date: Jan 2018
Posts: 8
Rep Power: 8 |
$ which notepad2
which: no notepad2 in (/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64Gcc/gperftools-svn/bin:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64Gcc/MS-MPI-7.1/bin:/home/ofuser/blueCFD/ofuser-of5/platforms/mingw_w64GccDPInt32Opt/bin:/home/ofuser/blueCFD/site/5.x/platforms/mingw_w64GccDPInt32Opt/bin:/home/ofuser/blueCFD/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/bin:/home/ofuser/blueCFD/OpenFOAM-5.x/bin:/home/ofuser/blueCFD/OpenFOAM-5.x/wmake:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ofuser/AddOns/notepad2:/home/ofuser/AddOns/ParaView/bin:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64Gcc/gperftools-svn/lib:/home/ofuser/blueCFD/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/lib/MS-MPI-7.1:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64GccDPInt32/lib/MS-MPI-7.1:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64Gcc/MS-MPI-7.1/lib:/home/ofuser/blueCFD/ofuser-of5/platforms/mingw_w64GccDPInt32Opt/lib:/home/ofuser/blueCFD/site/5.x/platforms/mingw_w64GccDPInt32Opt/lib:/home/ofuser/blueCFD/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/lib:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64GccDPInt32/lib:/home/ofuser/blueCFD/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/lib/dummy) Owner@Owner-PC MINGW64 OpenFOAM-5.x ~ $ which notepad2.exe which: no notepad2.exe in (/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64Gcc/gperftools-svn/bin:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64Gcc/MS-MPI-7.1/bin:/home/ofuser/blueCFD/ofuser-of5/platforms/mingw_w64GccDPInt32Opt/bin:/home/ofuser/blueCFD/site/5.x/platforms/mingw_w64GccDPInt32Opt/bin:/home/ofuser/blueCFD/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/bin:/home/ofuser/blueCFD/OpenFOAM-5.x/bin:/home/ofuser/blueCFD/OpenFOAM-5.x/wmake:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/ofuser/AddOns/notepad2:/home/ofuser/AddOns/ParaView/bin:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64Gcc/gperftools-svn/lib:/home/ofuser/blueCFD/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/lib/MS-MPI-7.1:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64GccDPInt32/lib/MS-MPI-7.1:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64Gcc/MS-MPI-7.1/lib:/home/ofuser/blueCFD/ofuser-of5/platforms/mingw_w64GccDPInt32Opt/lib:/home/ofuser/blueCFD/site/5.x/platforms/mingw_w64GccDPInt32Opt/lib:/home/ofuser/blueCFD/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/lib:/home/ofuser/blueCFD/ThirdParty-5.x/platforms/mingw_w64GccDPInt32/lib:/home/ofuser/blueCFD/OpenFOAM-5.x/platforms/mingw_w64GccDPInt32Opt/lib/dummy) Owner@Owner-PC MINGW64 OpenFOAM-5.x ~ $ |
|
January 26, 2018, 10:39 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
This is very very strange... OK, please let me know what the following commands give you:
Code:
ls -l /home/ofuser/AddOns ls -l /home/ofuser/AddOns/notepad2 mount | grep -i AddOns |
|
January 26, 2018, 11:07 |
|
#8 |
New Member
Douglas Jansen
Join Date: Jan 2018
Posts: 8
Rep Power: 8 |
Owner@Owner-PC MINGW64 OpenFOAM-5.x ~
$ ls -1 /home/ofuser/AddOns MSMPI71_MSMpiSetup.exe Notepad2 old_ParaView ParaView Owner@Owner-PC MINGW64 OpenFOAM-5.x ~ $ ls -1 /home/AddOns/notepad2 ls: cannot access '/home/AddOns/notepad2': No such file or directory Owner@Owner-PC MINGW64 OpenFOAM-5.x ~ $ ls -1 /home/AddOns/Notepad2 ls: cannot access '/home/AddOns/Notepad2': No such file or directory Owner@Owner-PC MINGW64 OpenFOAM-5.x ~ $ mount | grep -i AddOns C:/PROGRA~1/BLUECF~1/AddOns on /home/ofuser/AddOns type ntfs (binary,user) Owner@Owner-PC MINGW64 OpenFOAM-5.x ~ $ |
|
January 26, 2018, 11:32 |
|
#9 |
New Member
Douglas Jansen
Join Date: Jan 2018
Posts: 8
Rep Power: 8 |
Sorry I entered the second command incorrectly.
Here is the correct one Owner@Owner-PC MINGW64 OpenFOAM-5.x ~ $ -l /home/ofuser/Addons/notepad2 bash: -l: command not found |
|
January 26, 2018, 19:57 |
|
#10 |
New Member
Douglas Jansen
Join Date: Jan 2018
Posts: 8
Rep Power: 8 |
Once more from the beginning
Owner@Owner-PC MINGW64 OpenFOAM-5.x ~ $ ls -1 /home/ofuser/AddOns MSMPI71_MSMpiSetup.exe Notepad2 old_ParaView ParaView Owner@Owner-PC MINGW64 OpenFOAM-5.x ~ $ ls -1 /home/ofuser/AddOns/notepad2 ls: cannot access '/home/ofuser/AddOns/notepad2': No such file or directory Owner@Owner-PC MINGW64 OpenFOAM-5.x ~ $ mount | grep -i AddOns C:/PROGRA~1/BLUECF~1/AddOns on /home/ofuser/AddOns type ntfs (binary,user) |
|
January 27, 2018, 08:13 |
|
#11 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Sorry for the delay, had a complicated day yesterday...
Something is very wrong in your installation, because the folder "Notepad2" is meant to be called "notepad2". Did you let blueCFD-Core install Notepad2 on its own, or did you install it yourself manually after blueCFD-Core finished its own installation? Because there should not be any error messages given when trying to list the content of the folder "Notepad2", given that the folder should be accessible for any user, not just for the administrator, which is what I suspect is happening here. |
|
January 27, 2018, 14:30 |
|
#12 |
New Member
Douglas Jansen
Join Date: Jan 2018
Posts: 8
Rep Power: 8 |
The folders in the AddOns folder, namely ParaView and Notepad2 were installed at the same time I installed blueCFD-Core-2017.
|
|
January 30, 2018, 12:39 |
|
#13 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Sorry again for the delay...
This is a rather unusual situation for me, because I don't understand exactly why the folder "Notepad2" is not accessible to you through the blueCFD-Core (MSys2) terminal. The only situations that come to mind are the following:
|
|
January 30, 2018, 22:32 |
|
#14 |
New Member
Douglas Jansen
Join Date: Jan 2018
Posts: 8
Rep Power: 8 |
I uninstalled all of blueCFD-Core-2017, rebooted the computer, reinstalled blueCFD-Core-2017 and rebooted again. Everything now works. I can call Notepad2 to edit blockMeshDict or any other text file. I modified the code to open ParaView 4.4.0 since my graphics card will not support ParaView 5.2.1. I was able to run the cavity tutorial and open results with ParaView 4.4.0. IT ALL WORKS. Thanks so much for all your help. I can now continue with the other tutorials.
|
|
January 31, 2018, 06:31 |
|
#15 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
I'm very glad it's all finally working! And many thanks for your feedback!
I'm still finding it all very strange, but I've opened an issue for this on our issue tracker to have a look into in the near future: https://github.com/blueCFD/Core/issues/84 |
|
Tags |
gedit |
|
|