From 76c6c53110a0a2f46131227b568c987f8c80e951 Mon Sep 17 00:00:00 2001 From: Narayana Rao Bhogapurapu <narayanarao.bhogapurapu@gmail.com> Date: Sat, 1 Jun 2024 20:58:57 -0400 Subject: [PATCH] first mod --- applications/insarApp.py | 14 +++++++------- applications/isceApp.py | 14 +++++++------- configuration/sconsConfigFile.py | 2 +- contrib/SConscript | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/applications/insarApp.py b/applications/insarApp.py index 372f197..d2cf6e0 100644 --- a/applications/insarApp.py +++ b/applications/insarApp.py @@ -1191,13 +1191,13 @@ class Insar(_InsarBase): if __name__ == "__main__": - if not isce.stanford_license: - print("This workflow requires the Stanford licensed code elemnts.") - print("Unable to find the license information in the isce.stanford_license file.") - print("Please either obtain a stanford license and follow the instructions to") - print("install the stanford code elements or else choose a different workflow.") - raise SystemExit(0) - else: + # if not isce.stanford_license: + # print("This workflow requires the Stanford licensed code elemnts.") + # print("Unable to find the license information in the isce.stanford_license file.") + # print("Please either obtain a stanford license and follow the instructions to") + # print("install the stanford code elements or else choose a different workflow.") + # raise SystemExit(0) + # else: #make an instance of Insar class named 'insarApp' insar = Insar(name="insarApp") #configure the insar application diff --git a/applications/isceApp.py b/applications/isceApp.py index 3dcbdd0..38ee5a9 100644 --- a/applications/isceApp.py +++ b/applications/isceApp.py @@ -1780,13 +1780,13 @@ class IsceApp(Application, FrameMixin): if __name__ == "__main__": - if not isce.stanford_license: - print("This workflow requires the Stanford licensed code elemnts.") - print("Unable to find the license information in the isce.stanford_license file.") - print("Please either obtain a stanford license and follow the instructions to") - print("install the stanford code elements or else choose a different workflow.") - raise SystemExit(0) - else: + # if not isce.stanford_license: + # print("This workflow requires the Stanford licensed code elemnts.") + # print("Unable to find the license information in the isce.stanford_license file.") + # print("Please either obtain a stanford license and follow the instructions to") + # print("install the stanford code elements or else choose a different workflow.") + # raise SystemExit(0) + # else: #create the isce object isceapp = IsceApp(name='isceApp') #configure the isceapp object diff --git a/configuration/sconsConfigFile.py b/configuration/sconsConfigFile.py index eea7d86..86c2d1f 100644 --- a/configuration/sconsConfigFile.py +++ b/configuration/sconsConfigFile.py @@ -35,7 +35,7 @@ import sys COMPILER_OPTIONS ={'COMPILER_OPTIMIZATION':'-O2','COMPILER_WARNING':'-Wall'} LINKER_OPTIONS ={'LINKFLAGS':'-fopenmp'} # some systems don't need it, but ubuntu does -GFORTRANFLAGS = ['-ffixed-line-length-none' ,'-fno-second-underscore', '-fPIC','-fno-range-check'] +GFORTRANFLAGS = ['-ffixed-line-length-none' ,'-fno-second-underscore', '-fPIC','-fno-range-check', '-fallow-argument-mismatch'] GCCFLAGS = ['-fPIC'] if 'DEVELOPER' in os.environ: GFORTRANFLAGS.append('-fbounds-check') diff --git a/contrib/SConscript b/contrib/SConscript index 11366b4..8e6eca4 100644 --- a/contrib/SConscript +++ b/contrib/SConscript @@ -80,4 +80,4 @@ SConscript('splitSpectrum/SConscript') SConscript('alos2filter/SConscript') SConscript('alos2proc/SConscript') SConscript('alos2proc_f/SConscript') -SConscript('geo_autoRIFT/SConscript') +#SConscript('geo_autoRIFT/SConscript') -- GitLab