Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress the negative issue check #7

Merged
merged 1 commit into from
May 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ RUN wget -c -O atompaw.tar.gz http://users.wfu.edu/natalie/papers/pwpaw/atompaw-
mkdir -p atompaw && \
tar xf atompaw.tar.gz -C atompaw --strip-components=1 && \
cd atompaw && \
# Comment out line 4006 of pseudo.F90 and line 79, 80 of pwscfinterface.F90
# to still output pseudo if the negative charge issue appears in generation
sed -i '4006s/^/!/' src/pseudo.F90 && \
sed -i '79s/^/!/' src/pwscfinterface.F90 && \
sed -i '80s/^/!/' src/pwscfinterface.F90 && \
# Compile
mkdir build && \
cd build && \
../configure FC=/usr/bin/gfortran \
Expand Down