mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-21 11:53:32 +01:00
TEST
Version:1.2.7
This commit is contained in:
parent
b7ab85315e
commit
f6eb72c068
@ -1,4 +1,4 @@
|
||||
IRPF90 = irpf90 #-a -d
|
||||
IRPF90 = irpf90 -a -d
|
||||
FC = gfortran
|
||||
FCFLAGS= -O2
|
||||
|
||||
|
@ -1,14 +1,10 @@
|
||||
program irp_example1
|
||||
integer :: x(w)
|
||||
integer :: x(W)
|
||||
BEGIN_SHELL [ /bin/bash ]
|
||||
echo print *, \'Compiled by `whoami` on `date`\'
|
||||
echo print *, \'$FC $FCFLAGS\'
|
||||
echo print *, \'$IRPF90\'
|
||||
END_SHELL
|
||||
call run
|
||||
|
||||
end
|
||||
|
||||
subroutine run
|
||||
print *, 't = ', t
|
||||
! print *, 't = ', t
|
||||
print *, u2
|
||||
end
|
||||
|
@ -8,7 +8,7 @@ END_PROVIDER
|
||||
|
||||
BEGIN_PROVIDER [ integer, v ]
|
||||
v = u2+w+2
|
||||
!END_PROVIDER
|
||||
END_PROVIDER
|
||||
|
||||
BEGIN_PROVIDER [ integer, u1 ]
|
||||
integer :: fu
|
||||
|
@ -173,16 +173,10 @@ def parallel_loop(f,source):
|
||||
w.close()
|
||||
os._exit(0)
|
||||
|
||||
OK = True
|
||||
for i in xrange(1,NTHREADS):
|
||||
if os.waitpid(pidlist[i],0)[1] != 0:
|
||||
OK = False
|
||||
if not OK:
|
||||
sys.exit(1)
|
||||
|
||||
for i in xrange(1,NTHREADS):
|
||||
result += pickle.load(r[i])
|
||||
r[i].close()
|
||||
os.waitpid(pidlist[i],0)[1]
|
||||
|
||||
return result
|
||||
|
||||
|
@ -1 +1 @@
|
||||
version = "1.2.6"
|
||||
version = "1.2.7"
|
||||
|
Loading…
Reference in New Issue
Block a user