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

updates #1043

Merged
merged 2 commits into from
Nov 16, 2024
Merged

updates #1043

Show file tree
Hide file tree
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
15 changes: 15 additions & 0 deletions src/stepper/stpr_gen_aux.F
Original file line number Diff line number Diff line change
Expand Up @@ -395,10 +395,13 @@ subroutine stpr_put_genat_restart(rank,hess,grad0,
logical dipole_okay !< [Input] Should the dipole derivative be
!< stored?
logical lopen !< Is the file open?
logical does_it_exist !< Does the file exist
c
integer iatom_start, ixyz_start
integer iflag_grad0
integer dipole_there
integer iostat
character*256 io_errmsg
c
if (ga_nodeid().ne.0) then
write(luout,*)' non-master node called me ',ga_nodeid()
Expand Down Expand Up @@ -432,6 +435,18 @@ subroutine stpr_put_genat_restart(rank,hess,grad0,
inquire(unit=69,opened=lopen)
if (lopen) call errquit("stpr_put_genat_restart: unit 69 should "
& //"be closed at this point",0,UERR)
inquire(file=FILEATR,exist=does_it_exist)
if(.not.does_it_exist) then
open(unit=69, file=FILEATR,
I iostat=iostat,
& iomsg=io_errmsg)
if(iostat.ne.0)
W write(6,*) ga_nodeid(),' open iomsg WARNING: ',io_errmsg
close(unit=69,iostat=iostat,
& iomsg=io_errmsg)
if(iostat.ne.0)
W write(6,*) ga_nodeid(),' close iomsg WARNING: ',io_errmsg
endif
open(unit=69,file=FILEATR,
& form='unformatted',
& access='sequential',
Expand Down
1 change: 1 addition & 0 deletions travis/run_qas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ fi
cd $TRAVIS_BUILD_DIR/QA && ./runtests.mpi.unix procs $nprocs x2c-h2se
cd $TRAVIS_BUILD_DIR/QA && ./runtests.mpi.unix procs $nprocs dftd3_c6cn
cd $TRAVIS_BUILD_DIR/QA && ./runtests.mpi.unix procs $nprocs xe-zora-mp-so
cd $TRAVIS_BUILD_DIR/QA && ./runtests.mpi.unix procs $nprocs oniom2
if [[ ! -z "$USE_LIBXC" ]] || [[ ! -z "$LIBXC_INCLUDE" ]]; then
cd $TRAVIS_BUILD_DIR/QA && ./runtests.mpi.unix procs $nprocs libxc_he2+
cd $TRAVIS_BUILD_DIR/QA && ./runtests.mpi.unix procs $nprocs libxc_scanl
Expand Down