Skip to content

Solutions to Project Euler problems written by modern Fortran

License

Notifications You must be signed in to change notification settings

han190/PE-Fortran

This branch is 27 commits ahead of master.

Repository files navigation

Project Euler solutions written in Fortran

Project Euler is a math problem set. I occasionally solve PE problems for fun. Welcome!

Getting Started

Dependencies

Dependencies Options
Fortran 2008 compliant Compiler gfortran / ifx
Build Tool Fortran Package Manager (FPM) / CMake
  • The project only works on Linux, MacOS and Windows WSL.

Compile and run with FPM

With gfortran compiler,

fpm @fpm/gnu.rsp

or with Intel compiler,

fpm @fpm/intel.rsp

Compile and run with CMake

Build:

mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make

Test and install:

make test
make install

For more information: PE-Fortran --help.

About

Solutions to Project Euler problems written by modern Fortran

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published