1) Threading cleanup in src_CSA & src_CSA_DiL
authorDawid Jagiela <lightnir@chem.univ.gda.pl>
Sun, 26 Oct 2014 21:58:46 +0000 (22:58 +0100)
committerDawid Jagiela <lightnir@chem.univ.gda.pl>
Sun, 26 Oct 2014 22:03:33 +0000 (23:03 +0100)
2) Makefile verbose turned off for "Release" builds
3) fixed missing printmat.f in cluster/wham/src/CMakeLists.txt

CMakeLists.txt
source/cluster/wham/src/CMakeLists.txt
source/unres/src_CSA/readrtns_csa.F
source/unres/src_CSA_DiL/readrtns_csa.F

index 87cffd9..3a2d1d7 100644 (file)
@@ -70,8 +70,6 @@ ENDMACRO (CINFO_FORMAT)
 include(CTest)
 enable_testing()
  
-# Set makefile verbose on
-set( CMAKE_VERBOSE_MAKEFILE 1 )
 
 #======================================
 # Fortran compilers stuff
@@ -91,7 +89,16 @@ if (NOT CMAKE_BUILD_TYPE)
   set (CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build, options are: None Debug Release." FORCE)
   set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "None" "Debug" "Release" )
 endif (NOT CMAKE_BUILD_TYPE)
-   
+
+
+if (CMAKE_BUILD_TYPE STREQUAL "Release")
+  # Set makefile verbosity off for Release builds
+  set( CMAKE_VERBOSE_MAKEFILE 0 )
+else()
+  # Set makefile verbosity on for other builds
+  set( CMAKE_VERBOSE_MAKEFILE 1 )
+endif (CMAKE_BUILD_TYPE STREQUAL "Release")
+
 #=======================================  
 # Set the varous build variables 
 #=======================================
index 83e34ad..32f25a7 100644 (file)
@@ -28,6 +28,7 @@ set(UNRES_CLUSTER_WHAM_SRC0
        noyes.f
        parmread.F
        pinorm.f
+       printmat.f
        probabl.F
        read_coords.F
        readpdb.f
index 9ab4510..77e744d 100644 (file)
@@ -808,9 +808,6 @@ c            call gen_rand_conf(itmp,*31)
 
       endif 
 C Generate distance constraints, if the PDB structure is to be regularized. 
-      if (nthread.gt.0) then
-        call read_threadbase
-      endif
       call setup_var
       if (me.eq.king .or. .not. out1file)
      & call intout
index a6ed1f8..112514f 100644 (file)
@@ -809,9 +809,6 @@ c            call gen_rand_conf(itmp,*31)
 
       endif 
 C Generate distance constraints, if the PDB structure is to be regularized. 
-      if (nthread.gt.0) then
-        call read_threadbase
-      endif
       call setup_var
       if (me.eq.king .or. .not. out1file)
      & call intout