Subversion Repositories slepc-dev

Rev

Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2292 Rev 2358
Line 224... Line 224...
    sys.exit('ERROR: cannot create include directory ' + incdir)
    sys.exit('ERROR: cannot create include directory ' + incdir)
try:
try:
  slepcvars = open(os.sep.join([confdir,'slepcvariables']),'w')
  slepcvars = open(os.sep.join([confdir,'slepcvariables']),'w')
  if not prefixdir:
  if not prefixdir:
    prefixdir = archdir
    prefixdir = archdir
  slepcvars.write('SLEPC_DESTDIR =' + prefixdir +'\n')
  slepcvars.write('SLEPC_DESTDIR = ' + prefixdir +'\n')
 
  testruns = petscconf.TEST_RUNS.split()
 
  testruns.remove('VALGRIND')
 
  testruns.remove('PTHREAD')
 
  testruns.remove('X11')
 
  testruns.remove('C_X11')
 
  testruns.remove('F90_NoComplex')
 
  testruns.remove('Fortran_NoComplex')
 
  slepcvars.write('TEST_RUNS = ' + ' '.join(testruns) +'\n')
except:
except:
  sys.exit('ERROR: cannot create configuration file in ' + confdir)
  sys.exit('ERROR: cannot create configuration file in ' + confdir)
try:
try:
  slepcrules = open(os.sep.join([confdir,'slepcrules']),'w')
  slepcrules = open(os.sep.join([confdir,'slepcrules']),'w')
except:
except: