- Видео 1
- Просмотров 83 553
Sayan Panda
Добавлен 4 мар 2018
How to Start Coding in Fortran on Windows
In this video I have shown how to install gfortran compiler and Visual Studio Code in order to start coding in Fotran.
tdm-gcc
jmeubank.github.io/tdm-gcc/
Visual Studio Code
code.visualstudio.com/
Extensions Used
C/C++
Modern Fortran
Code Runner
tdm-gcc
jmeubank.github.io/tdm-gcc/
Visual Studio Code
code.visualstudio.com/
Extensions Used
C/C++
Modern Fortran
Code Runner
Просмотров: 83 579
Thanks...Bro
Thankyou so much
thank you
Very useful. Thank you so much !
I can't find the same Modern Fortran extension for VScode
Is anybody is interested in paid FORTRAN project?
太棒了! 15年前開始用compaq visual fortran之後,隨者windows作業系統而無法使,你解決了我一個大麻煩,讓我可以繼續撰寫fortran。
Thanks..
There's an extra step for my windows 11 to get it working: Search in "start" and open "edit the system environment variables" setting Click "environment variables..." In the User variables for... section, look for an entry called PATH If PATH exists, click on it, then select Edit Add "C:\TDM-GCC-64\bin" (might be different for you) to the list
it works, thank you!
Dont. Simply ... dont. Get a C compiler, learn C, use that.
Tell that to Abaqus
Good job!!
Do we need C++, is it mandatory???
Muchas gracias, me ha funcionado a la perfección
Great video, boy. Thanks a lot!
C:\Users\me>gfortran 'gfortran' is not recognized as an internal or external command, operable program or batch file. I am getting this why? what to do?
I love you
what if there is no internet, i only have the files to install. The step 'TDM-GCC Recommended, ALL Packages' is not showing. what to do then.
this method is working awesome in my old system but not in the new system , with mingw error
exactly what i was looking for , Thank you!
gracias hasta que encuentro un tutorial decente que explica a los nuevos
Why run in terminal? Is it more efficient?
Thank you so much! so helpful!
What a great video, ditto what @Bobby said below. Thanks!
Thank you!
make it by watching your video, thanks
Excellent, thank you very very much !!!
Thanks a lot.... Wasting 3 hours... At last I found this beneficial one
I installed TDM-GCC-64 and type gfortran in the Command Prompt, but my computer couldn't find it😢Can someone help me...😭
Good job !!!
Absolutely great! Thank you so much for this very useful video, now I am happily coding, compiling an running successfully!
Error spawning fortls: Please check that fortran-language-server is installed and in your path. Source : FORTRAN IntelliSense (Extension) I followed your steps step by step but ran into this problem. However, one detail is that when installing Modern Fortran, what is installed is not the Modern Fortran with your icon. It appears first, and I did not find the Morden Fortran with your icon.
thank you very much :)
Very helpful video. But why don’t you made next one? I am waiting for it.
Do you know why, when I try to run in VS Code, the terminal will state "'gfortran' is not recognized as an internal or external command, operable program or batch file." ? It's definitely installed, I can go out to cmd and check the gfortran version that is installed, but vscode doesn't think so.
Have you tried restarting VS Code?
@sayan_panda I had this problem that was solved by installing the mingw .
@@javadmousavy3377hey can you tell me the procedure?
that was really helpful, thanks a lot
A sub to the channel will be appreciated 🙂. I'll make fortran tutorials soon along with parallel fortran.
Thanks man.. It was helpful and concise
Brief, to the point, and very helpful indeed. Liked and subbed.
Es una explicación muy ordenada y clara. Gracias.
how to manually install fortls ?
You need Python in order to install fortls. First Install Python (if you are on Linux it's already installed if on Windows download it from their website) Then, go to the CMD/Terminal and type pip install fortls. That should do the job. Cheers!
@@sayan_panda thanks man, it worked after i added it to system path variable
@@ingunnbollestad Glad that it worked out!
Hello Sayan! Thank you for the clear explanation! I followed all your instructions step by step however when I tried to run the hello world the result was different. The output is copied below. Please COuld you help? PS C:\Users\afamilus\Desktop\FORTRAN> cd "c:\Users\afamilus\Desktop\FORTRAN\" ; if ($?) { gfortran Hello.f95 -o Hello } ; if ($?) { .\Hello } C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-crt0_c.o): in function `main': C:/crossdev/src/mingw-w64-v8-git/mingw-w64-crt/crt/crt0_c.c:18: undefined reference to `WinMain' collect2.exe: error: ld returned 1 exit status PS C:\Users\afamilus\Desktop\FORTRAN>
same
did you find any solution
No@@cagla4717
So clear and straight to the point. Thankyou!
Thank you very much
Excellent. Thank you so much! I had spent about 30 mins looking online and was about to dive into an installation process much more complicated than this when I had one more quick search and found your video. It was so concise and helpful that I've not only liked the vid, but you've earned yourself a subscriber. Thank you!
Thank you man, clear and great job
thanks
It's really worked!!! Thank u for your sharing!!!!!
I liked the fact you gave a list of what you need; much more efficient than listening to your voice, rewind because you missed something, trying again, ... Some people learn visually (i.e., youtube) but others like to read a book. What book can you recommend for VS Code? I learned the hard way that .f90 extension is not recognized but .f95 is. Do you have a follow on video that discusses how to use the debugger gdb? Have you tried white background for VS Code? I am sure this is personal but my eyes like the white background. Thanks for taking the time to share with us.
Thanks! In my experience I found theoretical things like how to structure your code, how to parallelize code, the best resource is books but while they cover how to get started they don't cover things like editor or the compiler maybe because these things are constantly evolving. I watched a few RUclips videos about VS Code while I started using it. I think there might be something wrong. All compilers should be accepting .f90 extension. .f90 is still most preferred because of wide compatibility with various compilers. I am currently away from my laptop, once I get back I'll share some books that I found really helpful. I got quite busy academically so couldn't make new videos. Once this semester ends I plan to make a complete series on Fortran.
thank you very much
I'm confused on how to enter paths..
Thank you so much for the tutorial, it was really useful, however, how can I run a program with the extension .f or .for?
Yes you can.