Skip to content

Commit c2e79cb

Browse files
authored
Suppress the negative issue check (#7)
1 parent 7a5b70a commit c2e79cb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ RUN wget -c -O atompaw.tar.gz http://users.wfu.edu/natalie/papers/pwpaw/atompaw-
99
mkdir -p atompaw && \
1010
tar xf atompaw.tar.gz -C atompaw --strip-components=1 && \
1111
cd atompaw && \
12+
# Comment out line 4006 of pseudo.F90 and line 79, 80 of pwscfinterface.F90
13+
# to still output pseudo if the negative charge issue appears in generation
14+
sed -i '4006s/^/!/' src/pseudo.F90 && \
15+
sed -i '79s/^/!/' src/pwscfinterface.F90 && \
16+
sed -i '80s/^/!/' src/pwscfinterface.F90 && \
17+
# Compile
1218
mkdir build && \
1319
cd build && \
1420
../configure FC=/usr/bin/gfortran \

0 commit comments

Comments
 (0)