https://github.com/xframes-project/xframes-fortran
GPU accelerated UI development for Fortran
https://github.com/xframes-project/xframes-fortran
fortran
Last synced: 3 months ago
JSON representation
GPU accelerated UI development for Fortran
- Host: GitHub
- URL: https://github.com/xframes-project/xframes-fortran
- Owner: xframes-project
- License: mit
- Created: 2024-12-30T17:53:56.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-14T18:15:03.000Z (4 months ago)
- Last Synced: 2025-01-14T19:01:18.755Z (4 months ago)
- Topics: fortran
- Language: Fortran
- Homepage:
- Size: 1.02 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xframes-fortran
## Instructions
### Install Fortran
#### Debian Trixie
I installed Fortran by running
`sudo apt install gfortran`
I then downloaded FPM from https://github.com/fortran-lang/fpm/releases/download/current/fpm-linux-x86_64
#### Raspberry PI 5
So far I have been **unable to run the app** on my Raspberry Pi 5 due to having an 'old' version of gcc (12.2).
`sudo apt install gfortran`
##### Install FPM
###### Through Conda
Based on these instructions: https://fpm.fortran-lang.org/install/index.html
Download and run https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-aarch64.sh
#### Windows
Grab the installer from https://www.msys2.org/#installation
Ensure `pacman` is in `PATH`. Open a terminal and run
`pacman -S mingw-w64-ucrt-x86_64-gcc-fortran`
Assuming you installed msys2 in `C:\msys64`, add the following to `PATH`:
`C:\msys64\ucrt64\bin`
Install the Fortran Package Manager
Based on https://fpm.fortran-lang.org/install/index.html#install
`pacman -S git mingw-w64-x86_64-gcc-fortran mingw-w64-x86_64-fpm`
Assuming you installed msys2 in `C:\msys64`, add `C:\msys64\mingw64\bin` to `PATH`
Finally, build the app via fpm
`fpm build --link-flag "-L./"`
Run the app via fpm
`fpm run --link-flag "-L./"`
## Screenshots
Windows 11

Debian Trixie
