All Projects → LKedward → quickstart-fortran

LKedward / quickstart-fortran

Licence: MIT license
An easy Windows installer for GFortran and the Fortran Package Manager

Programming Languages

NSIS
403 projects
Batchfile
5799 projects

Projects that are alternatives of or similar to quickstart-fortran

Cmake Scripts
A selection of useful scripts for use in CMake projects, include code coverage, sanitizers, and dependency graph generation.
Stars: ✭ 202 (+359.09%)
Mutual labels:  gcc
linalg
Linear algebra library based on LAPACK
Stars: ✭ 42 (-4.55%)
Mutual labels:  lapack
linnea
Linnea is an experimental tool for the automatic generation of optimized code for linear algebra problems.
Stars: ✭ 60 (+36.36%)
Mutual labels:  lapack
Gnu Eprog
Embedded Programming with the GNU Toolchain
Stars: ✭ 230 (+422.73%)
Mutual labels:  gcc
FrameOfReference
C++ library to pack and unpack vectors of integers having a small range of values using a technique called Frame of Reference
Stars: ✭ 36 (-18.18%)
Mutual labels:  gcc
rtl2dot
C call graph generator
Stars: ✭ 48 (+9.09%)
Mutual labels:  gcc
Nginx Http Echo Module
A simple Nginx echo module
Stars: ✭ 192 (+336.36%)
Mutual labels:  gcc
C-Cpp-Coverage-for-CLion
Get coverage data in CLion using gcov or llvm-cov
Stars: ✭ 37 (-15.91%)
Mutual labels:  gcc
pyplot-fortran
For generating plots from Fortran using Python's matplotlib.pyplot 📈
Stars: ✭ 158 (+259.09%)
Mutual labels:  fortran-package-manager
gfort2py
Library to allow calling fortran code from python
Stars: ✭ 60 (+36.36%)
Mutual labels:  gfortran
Gcc Nmf
Real-time GCC-NMF Blind Speech Separation and Enhancement
Stars: ✭ 231 (+425%)
Mutual labels:  gcc
xcross
"Zero Setup" cross-compilation for C/C++. Supports numerous architectures, build systems, C standard libraries, vcpkg, and Conan.
Stars: ✭ 29 (-34.09%)
Mutual labels:  gcc
build-gcc
Shell scripts to build various gcc cross-compilers (primarily djgpp)
Stars: ✭ 34 (-22.73%)
Mutual labels:  gcc
Sol2
Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:
Stars: ✭ 2,791 (+6243.18%)
Mutual labels:  gcc
toml-f
TOML parser implementation for data serialization and deserialization in Fortran
Stars: ✭ 69 (+56.82%)
Mutual labels:  fortran-package-manager
Fixed point
C++ Binary Fixed-Point Arithmetic
Stars: ✭ 199 (+352.27%)
Mutual labels:  gcc
perses
Language-agnostic program reducer.
Stars: ✭ 57 (+29.55%)
Mutual labels:  gcc
homebrew-macos-cross-toolchains
macOS cross compiler toolchains
Stars: ✭ 404 (+818.18%)
Mutual labels:  gcc
PuzzleBox
Generate 3D puzzle box (OpenSCAD source)
Stars: ✭ 92 (+109.09%)
Mutual labels:  gcc
gcc-cross-compiler
A script to cross-compile GCC toolchain for various target architectures.
Stars: ✭ 32 (-27.27%)
Mutual labels:  gcc

Quickstart Fortran on Windows

An easy Windows installer and launcher for GFortran and the Fortran Package Manager

Download the latest installer from the Releases Page

Note: the installer takes a little while to startup due to it size, please be patient.

quickstart-fortran-installer-screenshot

Features

  • Installs locally, no adminstrator account required
  • Optionally add everything to the PATH for the local user
  • Includes:
    • GCC-GFortran 11.2.0
    • Fortran Package Manager v0.6.0
    • Git for Windows v2.35.2 (needed for fpm)
    • OpenBLAS (BLAS/LAPACK) v0.3.20-1
    • GNU make v4.3
  • Extra utility commands
    • intel-setvars to initialise the Intel OneAPI environment (if installed)
    • setup-stdlib to build and install the latest version of the Fortran Standard Library

FAQ

Do I need to be administrator to install this?

No, the installer will install files to the AppData directory for the current user (C:\Users\<user>\AppData\Local).

What is 'Add to path' and do I need it?

The 'Add to path' installer option will update the Windows PATH variable for the local user so that all the installed components are available to other applications. This means that you can call gfortran or fpm from any command window or code editor/IDE.

Alternatively, you may create an 'isolated' installation by unchecking the 'Add to path' option when installing. In this case, the installed programs are only made available when you use the 'Quickstart Fortran' command line shortcut added to the desktop and start menu.

Can I use this with the Intel OneAPI Compiler?

Yes. The installation adds a helper command intel-setvars to setup the intel environment (this must be called each time you open a new command window.). The helper script assumes OneAPI is installed at C:\Program Files (x86)\Intel\oneAPI.

After setting up the intel environment, you may use ifort with fpm by appending --compiler ifort to each fpm command or by setting the environment variable:

> set FPM_COMPILER=ifort

How can I install stdlib with this?

First, run the installer, making sure that GFortran, fpm and Git are selected. After install, open up the commmand window using the Quickstart Fortran shortcut on the desktop or in the start menu. At the command window type setup-stdlib and press ENTER. This will fetch the latest version of stdlib and install it to the local GFortran installation.

Note: The setup-stdlib script only works with the GFortran installation provided with this installer - it cannot currently detect existing GFortran or Intel fortran installations.

How do I compile with BLAS/LAPACK?

The optimized OpenBLAS library is included with the GCC installation. Use the link flags -llapack -lblas or add the following to your fpm.toml file:

[build]
link = ["lapack", "blas"]

How do I uninstall?

There is an uninstall program which may be launched from the start menu:

Start menu > All programs > Quickstart Fortran > Uninstall

About

The installer is built using the Nullsoft Scriptable Install System.

See quickstart-fortran-installer.nsi for the configuration file and make_installer.yml for the Github actions workflow.

The GNU Compiler Collection v11.2.0 is sourced from WinLibs based on the MinGW-w64 project linked with MSVCRT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].