~ubuntu-branches/ubuntu/utopic/nwchem/utopic

« back to all changes in this revision

Viewing changes to QA/runtests.mpi.unix

  • Committer: Package Import Robot
  • Author(s): Michael Banck, Daniel Leidert, Andreas Tille, Michael Banck
  • Date: 2013-07-04 12:14:55 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130704121455-5tvsx2qabor3nrui
Tags: 6.3-1
* New upstream release.
* Fixes anisotropic properties (Closes: #696361).
* New features include:
  + Multi-reference coupled cluster (MRCC) approaches
  + Hybrid DFT calculations with short-range HF 
  + New density-functionals including Minnesota (M08, M11) and HSE hybrid
    functionals
  + X-ray absorption spectroscopy (XAS) with TDDFT
  + Analytical gradients for the COSMO solvation model
  + Transition densities from TDDFT 
  + DFT+U and Electron-Transfer (ET) methods for plane wave calculations
  + Exploitation of space group symmetry in plane wave geometry optimizations
  + Local density of states (LDOS) collective variable added to Metadynamics
  + Various new XC functionals added for plane wave calculations, including
    hybrid and range-corrected ones
  + Electric field gradients with relativistic corrections 
  + Nudged Elastic Band optimization method
  + Updated basis sets and ECPs 

[ Daniel Leidert ]
* debian/watch: Fixed.

[ Andreas Tille ]
* debian/upstream: References

[ Michael Banck ]
* debian/upstream (Name): New field.
* debian/patches/02_makefile_flags.patch: Refreshed.
* debian/patches/06_statfs_kfreebsd.patch: Likewise.
* debian/patches/07_ga_target_force_linux.patch: Likewise.
* debian/patches/05_avoid_inline_assembler.patch: Removed, no longer needed.
* debian/patches/09_backported_6.1.1_fixes.patch: Likewise.
* debian/control (Build-Depends): Added gfortran-4.7 and gcc-4.7.
* debian/patches/10_force_gcc-4.7.patch: New patch, explicitly sets
  gfortran-4.7 and gcc-4.7, fixes test suite hang with gcc-4.8 (Closes:
  #701328, #713262).
* debian/testsuite: Added tests for COSMO analytical gradients and MRCC.
* debian/rules (MRCC_METHODS): New variable, required to enable MRCC methods.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
  set NWCHEM = $NWCHEM_PROJ_PATH/nwchem
77
77
endif
78
78
 
79
 
if (! -x $NWCHEM) then
80
 
  echo cannot execute $NWCHEM
 
79
if (! -x "$NWCHEM" ) then
 
80
  echo failed: cannot execute $NWCHEM
81
81
  exit 1
82
82
endif
83
83
 
89
89
  else if ($?NWCHEM_TOP) then
90
90
    set NWPARSE = $NWCHEM_TOP/QA/nwparse.pl
91
91
  else
92
 
    echo Cannot find nwparse.pl.  Set NWPARSE or NWCHEM_TOP appropriately.
 
92
    echo failed: Cannot find nwparse.pl.  Set NWPARSE or NWCHEM_TOP appropriately.
93
93
    exit 1
94
94
  endif
95
95
endif
99
99
   if ($?MPIRUN_PATH) then   
100
100
      set MPIRUN = "$MPIRUN_PATH "
101
101
   else 
102
 
      echo " mpirun assumed in your current path"
103
 
      echo " if this is not the case then :"
104
 
      echo " setenv MPIRUN_PATH /home/guido/bagheria/bin/mpirun "
105
 
      echo " make sure you have the right mpirun for your system"
106
 
      set MPIRUN = mpirun
 
102
      set MPIRUN = `which mpirun`
 
103
      if (! -f "$MPIRUN") then
 
104
         echo " Mpirun is not in your current path. Please do:"
 
105
         echo " setenv MPIRUN_PATH /home/guido/bagheria/bin/mpirun "
 
106
         echo " Please make sure you have the right mpirun for your system."
 
107
         echo " Alternatively set the number of processors to 0."
 
108
         exit 2
 
109
      endif
107
110
   endif
108
111
endif
109
112
# find the -np option ??
 
113
if ($NPROC) then
110
114
   if ($?MPIRUN_NPOPT) then   
111
115
      set NPOPT = "$MPIRUN_NPOPT "
112
116
   else 
113
 
      echo " mpirun processor definition option assumed to be"
114
 
      echo "   -np "
115
 
      echo " if this is not the case then :"
116
 
      echo " setenv MPIRUN_NPOPT -n "
117
 
      echo " where -n is the option for your mpirun"
118
 
      set NPOPT = -np
 
117
      if ($NONSTD_MPI) then
 
118
#        you are on your own anyway...
 
119
      else
 
120
         set NPOPT = -np
 
121
         $MPIRUN $NPOPT 1 "echo"
 
122
         if ($status) then
 
123
            echo " Mpirun number of processors option is assumed to be:"
 
124
            echo "   -np "
 
125
            echo " If this is not the case then please do:"
 
126
            echo " setenv MPIRUN_NPOPT <nproc_opt> "
 
127
            echo " where <nproc_opt> is the number of processors option for"
 
128
            echo " your mpirun."
 
129
         endif
 
130
      endif
119
131
   endif
120
132
endif
121
133
# Run the tests one at a time
126
138
if (! -d $TESTOUTPUTS) then
127
139
  mkdir $TESTOUTPUTS
128
140
  if ($status) then
129
 
    echo cannot make directory $TESTOUTPUTS
 
141
    echo failed: cannot make directory $TESTOUTPUTS
130
142
    exit 1
131
143
  endif
132
144
endif
149
161
# if $TESTDIR not directory skip
150
162
#
151
163
  if(! -d $TESTDIR) then
152
 
    echo could not find job in $TEST
 
164
    echo failed: could not find job in $TEST
153
165
    echo ignoring this failure
154
166
    continue
155
167
  endif
167
179
  if (! -d $SCRATCHDIR) then
168
180
    mkdir $SCRATCHDIR
169
181
    if ($status) then
170
 
      echo failed to make $SCRATCHDIR
 
182
      echo failed: cannot make $SCRATCHDIR
171
183
      exit 1
172
184
    endif
173
185
  endif
220
232
 
221
233
  
222
234
  if (! -f $TESTDIR/$INPUTFILE) then
223
 
    echo cannot access $TESTDIR/$INPUTFILE
 
235
    echo failed: cannot access $TESTDIR/$INPUTFILE
224
236
    set overall_status = 1
225
237
    continue
226
238
  endif
227
239
  if(! $md_test_run) then
228
 
  if (! -f $TESTDIR/$OUTPUTFILE) then
229
 
    echo Could not find verified output file $TESTDIR/$OUTPUTFILE
230
 
    set overall_status  = 1
231
 
    continue
232
 
  endif
 
240
    if (! -f $TESTDIR/$OUTPUTFILE) then
 
241
      echo failed: Could not find verified output file $TESTDIR/$OUTPUTFILE
 
242
      set overall_status  = 1
 
243
      continue
 
244
    endif
233
245
  endif
234
246
 
235
247
  cp $TESTDIR/$INPUTFILE $SCRATCHDIR