Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed Mar 22, 2024
1 parent 860a140 commit f02189b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions apps/komega/config/default/preprocess.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@ set -u
FC=${FC:-mpifort}
export FC

check_file=check_compile_option.f90
check_file_exe=check_file_option
check_file=${check_file_exe}.f90
cat << EOF > $check_file
program check_compile_option
end
EOF

${FC} -fallow-argument-mismatch $check_file >/dev/null 2>/dev/null
if [ $? -eq 0 ]; then
${FC} -o $check_file_exe -fallow-argument-mismatch $check_file >/dev/null 2>/dev/null
st=$?
rm -f $check_file
rm -f $check_file_exe
if [ $st -eq 0 ]; then
./configure --prefix=$PREFIX --with-mpi FCFLAGS="-fallow-argument-mismatch"
else
./configure --prefix=$PREFIX --with-mpi
Expand Down
2 changes: 1 addition & 1 deletion apps/komega/version.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
KOMEGA_VERSION="2.0.0"
KOMEGA_MA_REVISION=1
KOMEGA_MA_REVISION=2

__NAME__=komega
__VERSION__=$KOMEGA_VERSION
Expand Down

0 comments on commit f02189b

Please sign in to comment.