update
[unres.git] / source / unres / src_CSA / together.F
index 5737b48..099c469 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
@@ -866,6 +878,7 @@ c  receives and stores data from soldiers
       include 'COMMON.CHAIN'
       include 'COMMON.CONTACTS'
       dimension ind(9),xout(maxvar),eout(mxch*(mxch+1)/2+1)
+      dimension cout(2)
 cjlee
       double precision przes(3),obr(3,3)
       logical non_conv
@@ -1278,3 +1291,4 @@ c----------------------------------------------------------
 #endif
        return
        end
+#endif