Skip to content

Add note about RAM issues to README.md #282

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 28, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ cmake --build build
cmake --build build --target test
```



### Build with make

Alternatively, you can build using provided Makefiles:
Expand All @@ -66,6 +68,25 @@ Alternatively, you can build using provided Makefiles:
make -f Makefile.manual
```

## Memory issues during compilation

Some issues can be encountered during compilation on low RAM computers.
These issues are due to the high number of procedures generated by the preprocessor.
They can be avoided by limiting the maximum rank of generated procedures, as follows with `CMake`:

```sh
cmake -B build

cmake --build build -DCMAKE_MAXIMUM_RANK=4

cmake --build build --target test
```
or as follows with `make`:

```sh
make -f Makefile.manual FYPPFLAGS=-DMAXRANK=4
```

## Documentation

Documentation is a work in progress (see issue #4) but is currently available at https://stdlib.fortran-lang.org.
Expand Down