[cig-commits] [commit] devel: changed the definition of LOCAL_PATH_Q in constants.h to use len=MAX_STRING_LEN instead of len=* (e5846a7)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed May 21 12:53:29 PDT 2014


Repository : https://github.com/geodynamics/specfem3d

On branch  : devel
Link       : https://github.com/geodynamics/specfem3d/compare/f3d4ff70a55162b05131be42413daacb9dc89b93...2696d80a7675a7c5a89fec3acdc11ca82439a18f

>---------------------------------------------------------------

commit e5846a7056722254c3570153896e65084a012f80
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date:   Wed May 21 21:52:04 2014 +0200

    changed the definition of LOCAL_PATH_Q in constants.h to use len=MAX_STRING_LEN instead of len=*


>---------------------------------------------------------------

e5846a7056722254c3570153896e65084a012f80
 setup/constants.h.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup/constants.h.in b/setup/constants.h.in
index 16b367d..c360b0b 100644
--- a/setup/constants.h.in
+++ b/setup/constants.h.in
@@ -204,7 +204,7 @@
 ! the scratch disk to save the state variables saved in the forward
 ! simulation, this can be a global scratch disk in case you run out of
 ! space on the local scratch disk, e.g. '/ibrixfs1/scratch/lqy/DATABASES_MPI_Q/'
-  character(len=*), parameter :: LOCAL_PATH_Q = './OUTPUT_FILES/DATABASES_MPI'
+  character(len=MAX_STRING_LEN), parameter :: LOCAL_PATH_Q = './OUTPUT_FILES/DATABASES_MPI'
 
 !------------------------------------------------------
 ! nlegoff -- Variables that should be read/computed elsewhere.



More information about the CIG-COMMITS mailing list