scemama 21cc6838b7 execute_shell: give the shell script a per-process name
BEGIN_SHELL writes <source>_shell_<line> next to the source and
removes it after execution. The name depends only on the source,
but several irpf90 processes can preprocess the same source at the
same time (one per top-level module in a multi-module build such as
Quantum Package, where each module reaches the shared sources through
symlinks). They then write, execute and delete each other's script:

  /bin/sh: 1: cannot open utils/util.irp.f_shell_308: No such file

Give the file a pid suffix. The name used in the provenance comment
stays pid-free, so generated sources (and the tags derived from them)
remain reproducible.

New regression test R27.
2026-11-07 01:10:53 +01:00
2020-01-27 18:22:35 +01:00
2020-01-27 18:22:35 +01:00
2023-10-19 17:50:35 +02:00
2020-01-27 18:22:35 +01:00
2023-10-19 17:50:35 +02:00
2010-06-09 18:56:33 +02:00
2019-01-09 00:44:17 +01:00
2009-09-23 12:51:27 +02:00
2015-03-16 14:50:57 +01:00
2019-01-09 00:44:17 +01:00

IRPF90

![Gitter](https://badges.gitter.im/Join Chat.svg)

IRPF90 is a Fortran90 preprocessor written in Python for programming using the Implicit Reference to Parameters (IRP) method. It simplifies the development of large fortran codes in the field of scientific high performance computing.

Dependencies

  • GNU make (>= 3.81 recommended)
  • Python >2.6
  • Any Fortran 90 compiler (Intel recommended)

Installing IRPF90

pip install irpf90

or

${IRPF90_HOME} is the location of your irpf90 directory::

cd ${IRPF90_HOME}
make
cat << EOF >> ${HOME}/.bash_profile
export PYTHONPATH=${IRPF90_HOME}/src:${PYTHONPATH}
export PATH=${IRPF90_HOME}/bin:${PATH}
export MANPATH=${IRPF90_HOME}/man:${MANPATH}
EOF
source ${HOME}/.bash_profile

Using IRPF90

In an empty directory, run:

irpf90 --init

This command creates a new Makefile suitable for most irpf90 projects. Now you can start to program using irpf90.

Web Site

http://irpf90.ups-tlse.fr

S
Description
Fortran90 preprocessor for programming using the Implicit Reference to Parameters (IRP) method. It simplifies the development of large fortran codes in the field of scientific high performance computing.
http://irpf90.ups-tlse.fr Readme
11 MiB
0 Stars 10 Watchers 0 Forks
Languages
Python 73.8%
C 21.4%
Vim script 3.3%
Shell 1%
Emacs Lisp 0.2%
Other 0.2%