@@ -45,12 +45,14 @@ PROGRAM dpd
4545 ! We recommend a somewhat smaller timestep than their 0.04.
4646 ! They also give an approximate expression for the pressure, written out at the end for comparison
4747
48- USE , INTRINSIC :: iso_fortran_env, ONLY : input_unit, output_unit, error_unit, iostat_end, iostat_eor
49- USE config_io_module, ONLY : read_cnf_atoms, write_cnf_atoms
50- USE averages_module, ONLY : run_begin, run_end, blk_begin, blk_end, blk_add
51- USE maths_module, ONLY : lowercase
52- USE dpd_module, ONLY : introduction, conclusion, allocate_arrays, deallocate_arrays, &
53- & force, lowe, shardlow, p_approx, r, v, f, n, potential_type
48+ USE , INTRINSIC :: iso_fortran_env, ONLY : input_unit, output_unit, error_unit, iostat_end, iostat_eor, &
49+ & COMPILER_VERSION, COMPILER_OPTIONS
50+
51+ USE config_io_module, ONLY : read_cnf_atoms, write_cnf_atoms
52+ USE averages_module, ONLY : run_begin, run_end, blk_begin, blk_end, blk_add
53+ USE maths_module, ONLY : lowercase
54+ USE dpd_module, ONLY : introduction, conclusion, allocate_arrays, deallocate_arrays, &
55+ & force, lowe, shardlow, p_approx, r, v, f, n, potential_type
5456
5557 IMPLICIT NONE
5658
@@ -78,7 +80,10 @@ PROGRAM dpd
7880
7981 NAMELIST / nml/ nblock, nstep, dt, temperature, a, gamma, method
8082
81- WRITE ( unit= output_unit, fmt= ' (a)' ) ' dpd'
83+ WRITE ( unit= output_unit, fmt= ' (a)' ) ' dpd'
84+ WRITE ( unit= output_unit, fmt= ' (2a)' ) ' Compiler: ' , COMPILER_VERSION()
85+ WRITE ( unit= output_unit, fmt= ' (2a/)' ) ' Options: ' , COMPILER_OPTIONS()
86+
8287 WRITE ( unit= output_unit, fmt= ' (a)' ) ' Dissipative particle dynamics, constant-NVT ensemble'
8388 WRITE ( unit= output_unit, fmt= ' (a)' ) ' Particle mass=1 and cutoff=1 throughout'
8489 CALL introduction
0 commit comments