aboutsummaryrefslogtreecommitdiff
path: root/src/fpm.f90
diff options
context:
space:
mode:
authorSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2021-07-31 01:07:50 +0200
committerSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2021-07-31 01:07:50 +0200
commit41d6c7b40aaf59cc6d403add22167a81c2f8b494 (patch)
tree3014f74b0bdae41df732ed12690ff260a0049b3a /src/fpm.f90
parentc6f0ec64b8060523beaf828ceae32fa3827f65fb (diff)
downloadfpm-41d6c7b40aaf59cc6d403add22167a81c2f8b494.tar.gz
fpm-41d6c7b40aaf59cc6d403add22167a81c2f8b494.zip
Allow detection of underlying compiler in mpiwrapper
- cleanup compiler flags a bit
Diffstat (limited to 'src/fpm.f90')
-rw-r--r--src/fpm.f905
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fpm.f90 b/src/fpm.f90
index 53c5767..36f63d8 100644
--- a/src/fpm.f90
+++ b/src/fpm.f90
@@ -18,12 +18,9 @@ use fpm_targets, only: targets_from_sources, resolve_module_dependencies, &
FPM_TARGET_EXECUTABLE, FPM_TARGET_ARCHIVE
use fpm_manifest, only : get_package_data, package_config_t
use fpm_error, only : error_t, fatal_error, fpm_stop
-use fpm_manifest_test, only : test_config_t
use,intrinsic :: iso_fortran_env, only : stdin=>input_unit, &
& stdout=>output_unit, &
& stderr=>error_unit
-use fpm_manifest_dependency, only: dependency_config_t
-use, intrinsic :: iso_fortran_env, only: error_unit
implicit none
private
public :: cmd_build, cmd_run
@@ -234,7 +231,7 @@ subroutine check_modules_for_duplicates(model, duplicates_found)
if (allocated(model%packages(k)%sources(l)%modules_provided)) then
do m=1,size(model%packages(k)%sources(l)%modules_provided)
if (model%packages(k)%sources(l)%modules_provided(m)%s.in.modules(:modi-1)) then
- write(error_unit, *) "Warning: Module ",model%packages(k)%sources(l)%modules_provided(m)%s, &
+ write(stderr, *) "Warning: Module ",model%packages(k)%sources(l)%modules_provided(m)%s, &
" in ",model%packages(k)%sources(l)%file_name," is a duplicate"
duplicates_found = .true.
else