From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sci-chemistry/cns/files/1.2.1-aria2.3.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 sci-chemistry/cns/files/1.2.1-aria2.3.patch (limited to 'sci-chemistry/cns/files/1.2.1-aria2.3.patch') diff --git a/sci-chemistry/cns/files/1.2.1-aria2.3.patch b/sci-chemistry/cns/files/1.2.1-aria2.3.patch new file mode 100644 index 000000000000..8c6939d8eb92 --- /dev/null +++ b/sci-chemistry/cns/files/1.2.1-aria2.3.patch @@ -0,0 +1,22 @@ +diff --git a/cns/src/cns.f b/cns/src/cns.f +index a3c2cbe..51a34f8 100644 +--- a/cns/src/cns.f ++++ b/cns/src/cns.f +@@ -470,6 +470,7 @@ C local + INTEGER HNLEN, TMP, PTRSZ, STLEN + CHARACTER*(1) CNSPTMP + CHARACTER*(4) ST ++!$ integer omp_get_max_threads + C + C write header + WRITE(6,'(10X,A)') +@@ -526,6 +527,9 @@ C + WRITE(6,'(10X,7A)') + & ' Running on machine: ',HOSTNM(1:HNLEN), + & ' (',SYSNM(1:TMP),',',ST(1:STLEN),'-bit)' ++!$ write(6,'(31x,a,i3,a)') 'with',omp_get_max_threads(), ++!$ & ' threads' ++!$C (to change use setenv OMP_NUM_THREADS x) + C + CALL GETNAM(USERNM,12,TMP) + WRITE(6,'(10X,2A)') -- cgit v1.2.3