Skip to content

Commit b0bd862

Browse files
committed
doc
1 parent 9a433f9 commit b0bd862

File tree

1 file changed

+26
-20
lines changed

1 file changed

+26
-20
lines changed

README.md

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -53,30 +53,42 @@ meson test -C build
5353

5454
## Compilers
5555

56-
### ifort Intel
56+
### Intel oneAPI
5757

58-
Be sure you have the
59-
[Intel Parallel Studio Cluster Edition](https://www.scivision.dev/install-intel-compiler-icc-icpc-ifort/)
60-
that has `mpiifort`.
58+
[Intel oneAPI](https://www.scivision.dev/intel-oneapi-fortran-install)
59+
has essentially complete Fortran 2018 support.
60+
Use Intel compilers (oneAPI or Parallel Studio) by:
6161

62-
```bash
63-
FC=ifort CC=icc CXX=icpc cmake ..
64-
```
62+
63+
* MacOS or Linux:
64+
65+
```sh
66+
FC=ifort CC=icc ctest -S setup.cmake -VV
67+
```
68+
* Windows
69+
70+
```post
71+
set FC=ifort
72+
set CC=icl
73+
74+
ctest -S setup.cmake -VV
75+
```
6576

6677
### Flang / Clang
6778

6879
[Flang](https://www.scivision.dev/flang-compiler-build-tips/) is a Free compiler.
6980

7081
```bash
71-
FC=flang CC=clang CXX=clang++ cmake ..
82+
FC=flang CC=clang ctest -S setup.cmake -VV
7283
```
7384

74-
### PGI
85+
### Nvidia HPC SDK
7586

76-
[PGI](https://www.scivision.dev/install-pgi-free-compiler/) is available at no cost.
87+
[Nvidia HPC SDK](https://www.scivision.dev/install-nvidia-hpc-free-compiler)
88+
is available at no cost.
7789

7890
```bash
79-
FC=pgf90 CC=pgcc CXX=pgc++ cmake ..
91+
FC=nvfortran CC=nvcc ctest -S setup.cmake -VV
8092
```
8193

8294
## Programs
@@ -98,25 +110,19 @@ Each directory has its own README and examples.
98110

99111
---
100112

101-
* [cxx/](./cxx): standard Fortran C / C++ bindings
102113
* [real/](./real): Numerous examples dealing with practical features of real floating point numbers, including sentinel NaN and polymorphism.
103114
* [character/](./character): String handling is easy and performant in modern Fortran.
104115
* [standard/](./standard): advanced features that can be done with Fortran standard coding
105116
* [submodule](https://github.com/scivision/fortran-submodule): Fortran 2008 and CMake ≥ 3.12 enable even better large program architecture with `submodule`
106117
* [system/](./system): system (hardware) functionality accessible via Fortran
107118

108-
## Companion libraries
119+
## Companion libraries and examples
109120

121+
* [C / C++ interfaced with Fortran](https://github.com/scivision/fortran-c-cpp-interface)
110122
* [h5fortran](https://github.com/scivision/h5fortran)
111123
* [netcdf4fortran](https://github.com/scivision/netcdf4fortran)
112124
* [sparse-fortran](https://github.com/scivision/sparse-fortran)
113125

114-
## Bugs
115-
116-
### iso_fortran_env
117-
118-
Flang 6 and PGI 18.10 seem to have a bug with `iso_fortran_env` that doesn't allow `compiler_version` and `compiler_options` to work unless `use iso_fortran_env` is ONLY used in `program` and NOT `module` *even if* using `only`.
119-
Thus, simple programs like `pragma.f90` work, but not the usual programs to print the compiler versions and options with Flang and PGI.
120126

121127
## Resources
122128

@@ -152,7 +158,7 @@ Thus, simple programs like `pragma.f90` work, but not the usual programs to prin
152158
* [IBM XL](https://www-01.ibm.com/support/docview.wss?uid=swg27036672)
153159
* [Intel Fortran](https://software.intel.com/en-us/fortran-compiler-developer-guide-and-reference)
154160
* [NAG Fortran](https://www.nag.com/nagware/np/r62_doc/manual/compiler.html)
155-
* [PGI Fortran](https://www.pgroup.com/resources/docs/18.10/x86/pvf-user-guide/index.htm)
161+
* [Nvidia HPC SDK](https://docs.nvidia.com/hpc-sdk/index.html)
156162

157163
### Surveys
158164

0 commit comments

Comments
 (0)