6/14/2012 by Adam
[unres.git] / source / unres / src_CSA / together.F
index 5737b48..8bc9d7a 100644 (file)
@@ -1,3 +1,4 @@
+#ifdef MPI
       Subroutine together
 c  feeds tasks for parallel processing
       implicit real*8 (a-h,o-z)
@@ -718,6 +719,17 @@ cccccccccccccccccccccccccccccc
 
       return
       end
+#else
+      Subroutine together
+c  feeds tasks for parallel processing
+      implicit real*8 (a-h,o-z)
+      include 'DIMENSIONS'
+      include 'COMMON.IOUNITS'
+      write (iout,*) "Unsupported option for the serial version"
+      return
+      end
+#endif
+#ifdef MPI
 c-------------------------------------------------
       subroutine feedin(nconf,nft)
 c  sends out starting conformations and receives results of energy minimization
@@ -1278,3 +1290,4 @@ c----------------------------------------------------------
 #endif
        return
        end
+#endif