repo_name
stringlengths
7
81
path
stringlengths
4
224
copies
stringclasses
221 values
size
stringlengths
4
7
content
stringlengths
975
1.04M
license
stringclasses
15 values
optimsoc/gzll-gcc
gcc/testsuite/gfortran.dg/duplicate_labels.f90
207
1742
! { dg-do compile } ! PR 21257 program dups integer i,j,k abc: do i = 1, 3 abc: do j = 1, 3 ! { dg-error "Duplicate construct label" } k = i + j end do abc end do abc ! { dg-error "Expecting END PROGRAM" } xyz: do i = 1, 2 k = i + 2 end do xyz xy...
gpl-2.0
optimsoc/gzll-gcc
gcc/testsuite/gfortran.dg/read_eof_all.f90
169
1987
! { dg-do run } ! PR43265 Followup patch for miscellaneous EOF conditions. ! Eaxamples from Tobius Burnus use iso_fortran_env character(len=2) :: str, str2(2) integer :: a, b, c, ios str = '' str2 = '' open(99,file='test.dat',access='stream',form='unformatted', status='replace') write(99) ' ' close(99...
gpl-2.0
optimsoc/gzll-gcc
libgfortran/generated/_cos_c10.F90
35
1484
! Copyright (C) 2002-2014 Free Software Foundation, Inc. ! Contributed by Paul Brook <paul@nowt.org> ! !This file is part of the GNU Fortran 95 runtime library (libgfortran). ! !GNU libgfortran is free software; you can redistribute it and/or !modify it under the terms of the GNU General Public !License as publishe...
gpl-2.0
optimsoc/gzll-gcc
gcc/testsuite/gfortran.dg/transfer_intrinsic_5.f90
135
1150
! { dg-do run } ! ! PR fortran/56615 ! ! Contributed by Harald Anlauf ! ! program gfcbug implicit none integer, parameter :: n = 8 integer :: i character(len=1), dimension(n) :: a, b character(len=n) :: s, t character(len=n/2) :: u do i = 1, n...
gpl-2.0
simomarsili/elss
src/dump.f90
1
6052
! Copyright (C) 2015-2017, Simone Marsili ! All rights reserved. ! License: BSD 3 clause module dump use kinds use constants use units, only: units_open,units_open_unf implicit none private public :: read_chk public :: dump_chk public :: dump_seq public :: dump_energies interface read_chk m...
bsd-3-clause
optimsoc/gzll-gcc
libgfortran/generated/_tan_r4.F90
35
1468
! Copyright (C) 2002-2014 Free Software Foundation, Inc. ! Contributed by Paul Brook <paul@nowt.org> ! !This file is part of the GNU Fortran 95 runtime library (libgfortran). ! !GNU libgfortran is free software; you can redistribute it and/or !modify it under the terms of the GNU General Public !License as publishe...
gpl-2.0
jinbow/Octopus
test/src.mitgcm/load_reflect.f90
1
1148
subroutine load_reflect() use global, only: reflect_x,reflect_y,Nx,Ny,Nz,path2uvw implicit none open(43,file=trim(path2uvw)//'reflect_x.bin',& form='unformatted',access='direct',convert='BIG_ENDIAN',& status='old',recl=4*Nz*(Nx+4)*Ny) read(43,rec=1) reflect_x(-2:Nx+1,0:Ny-1,0:Nz-1) ...
mit
mogrodnik/piernik
src/multigrid/multigrid_helpers.F90
3
5537
! ! PIERNIK Code Copyright (C) 2006 Michal Hanasz ! ! This file is part of PIERNIK code. ! ! PIERNIK is free software: you can redistribute it and/or modify ! it under the terms of the GNU General Public License as published by ! the Free Software Foundation, either version 3 of the License, or ! (at you...
gpl-3.0
optimsoc/gzll-gcc
libgomp/testsuite/libgomp.fortran/udr8.f90
102
1074
! { dg-do run } module udr8m1 integer, parameter :: a = 6 integer :: b !$omp declare reduction (foo : integer : omp_out = omp_out + omp_in) !$omp declare reduction (.add. : integer : & !$omp & omp_out = omp_out .add. iand (omp_in, -4)) & !$omp & initializer (omp_priv = 3) interface operator (.add.) module pr...
gpl-2.0
jchristopherson/linalg
src/external/qrupdate/dqrinc.f
1
4242
c Copyright (C) 2008, 2009 VZLU Prague, a.s., Czech Republic c c Author: Jaroslav Hajek <highegg@gmail.com> c c This file is part of qrupdate. c c qrupdate is free software; you can redistribute it and/or modify c it under the terms of the GNU General Public License as published by c the Free Software Foundation; eith...
gpl-3.0
optimsoc/gzll-gcc
gcc/testsuite/gfortran.dg/assumed_charlen_function_1.f90
154
1971
! { dg-do compile } ! { dg-options "-std=legacy" } ! Tests the patch for PRs 25084, 20852, 25085 and 25086, all of ! which involve assumed character length functions. ! Compiled from original PR testcases, which were all contributed ! by Joost VandeVondele <jv244@cam.ac.uk> ! ! PR25084 - the error is not here b...
gpl-2.0
optimsoc/gzll-gcc
libgomp/testsuite/libgomp.fortran/udr13.f90
102
3246
! { dg-do run } interface subroutine sub1 (x, y) integer, intent(in) :: y(:) integer, intent(out) :: x(:) end subroutine function fn2 (x, m1, m2, n1, n2) integer, intent(in) :: x(:,:), m1, m2, n1, n2 integer :: fn2(m1:m2,n1:n2) end function subroutine sub3 (x, y) int...
gpl-2.0
optimsoc/gzll-gcc
libgfortran/generated/_log_c8.F90
35
1477
! Copyright (C) 2002-2014 Free Software Foundation, Inc. ! Contributed by Paul Brook <paul@nowt.org> ! !This file is part of the GNU Fortran 95 runtime library (libgfortran). ! !GNU libgfortran is free software; you can redistribute it and/or !modify it under the terms of the GNU General Public !License as publishe...
gpl-2.0
alexurba/cftb
src/libsrc/blas/SRC/ztrmm.f
1
13069
SUBROUTINE ZTRMM(SIDE,UPLO,TRANSA,DIAG,M,N,ALPHA,A,LDA,B,LDB) * .. Scalar Arguments .. DOUBLE COMPLEX ALPHA INTEGER LDA,LDB,M,N CHARACTER DIAG,SIDE,TRANSA,UPLO * .. * .. Array Arguments .. DOUBLE COMPLEX A(LDA,*),B(LDB,*) * .. * * Purpose * ======= * * ZTRMM performs on...
mit
Vitancourt/gcc
gcc/testsuite/gfortran.dg/pr61209.f90
99
1519
! { dg-do compile } ! { dg-options "-O -fbounds-check" } MODULE array_types INTERFACE array_data MODULE PROCEDURE array_data_i1d END INTERFACE TYPE array_i1d_type END TYPE array_i1d_type TYPE array_i1d_obj TYPE(array_i1d_type), POINTER :: low END TYPE array_i1d_obj TYPE dbcsr_type TYPE...
gpl-2.0
Vitancourt/gcc
gcc/testsuite/gfortran.dg/select_type_25.f90
165
1265
! { dg-do compile } ! { dg-options "-fcoarray=single" } ! ! PR fortran/51605 ! subroutine one() type t end type t ! (a) Invalid (was ICEing before) class(t), target :: p1 ! { dg-error "must be dummy, allocatable or pointer" } class(t), pointer :: p2 select type(p1) type is(t) p2 => p1 class is(t) p2 => p1...
gpl-2.0
rotorliu/eigen
lapack/iladlr.f
271
3000
*> \brief \b ILADLR * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ILADLR + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/iladl...
bsd-3-clause
sudosurootdev/gcc
libgomp/testsuite/libgomp.fortran/retval1.f90
109
3188
! { dg-do run } function f1 () use omp_lib real :: f1 logical :: l f1 = 6.5 l = .false. !$omp parallel firstprivate (f1) num_threads (2) reduction (.or.:l) l = f1 .ne. 6.5 if (omp_get_thread_num () .eq. 0) f1 = 8.5 if (omp_get_thread_num () .eq. 1) f1 = 14.5 !$omp barrier l = l .or. (omp_get_thread_n...
gpl-2.0
Vitancourt/gcc
libgfortran/generated/_abs_r10.F90
47
1475
! Copyright (C) 2002-2015 Free Software Foundation, Inc. ! Contributed by Paul Brook <paul@nowt.org> ! !This file is part of the GNU Fortran 95 runtime library (libgfortran). ! !GNU libgfortran is free software; you can redistribute it and/or !modify it under the terms of the GNU General Public !License as publishe...
gpl-2.0
OSGConnect/modulefiles
recipes/pythia-pgs-mg-2.1.2/clean_lhco_output.f
1
17733
c------------- c Clean Olympics Output c Blame Jesse Thaler/Aaron Pierce c------------- PROGRAM CLEAN implicit none c&&&&&&&&&&&&&&&&&&& integer NMXHEP1 parameter (NMXHEP1=4000) common/HEPEVT1/NEVHEP1,NHEP1,ISTHEP1(NMXHEP1),IDHEP1(NMXHEP1), &JMOHEP1(2,NMXHEP1),JDAHEP1(2,NMXHE...
apache-2.0
sudosurootdev/gcc
gcc/testsuite/gfortran.fortran-torture/execute/entry_7.f90
190
2079
! Test alternate entry points for functions when the result types ! of all entry points match function f1 (a) integer a, b integer, pointer :: f1, e1 allocate (f1) f1 = 15 + a return entry e1 (b) allocate (e1) e1 = 42 + b end function function f2 () real, pointer :: f2, e2 entry e2 () allocate (e2) e2 =...
gpl-2.0
sudosurootdev/gcc
gcc/testsuite/gfortran.dg/g77/980628-2.f
188
1337
c { dg-do run } c { dg-options "-std=gnu" } * g77 0.5.23 and previous had bugs involving too little space * allocated for EQUIVALENCE and COMMON areas needing initial * padding to meet alignment requirements of the system. call subr end subroutine subr implicit none character c1(11), c2...
gpl-2.0
sudosurootdev/gcc
gcc/testsuite/gfortran.dg/proc_decl_3.f90
193
1304
! { dg-do compile } ! Some tests for PROCEDURE declarations inside of interfaces. ! Contributed by Janus Weil <jaydub66@gmail.com> module m interface subroutine a() end subroutine a end interface procedure(c) :: f interface bar procedure a,d end interface bar interface foo procedure c ...
gpl-2.0
Vitancourt/gcc
libgfortran/generated/_mod_i8.F90
47
1461
! Copyright (C) 2002-2015 Free Software Foundation, Inc. ! Contributed by Paul Brook <paul@nowt.org> ! !This file is part of the GNU Fortran 95 runtime library (libgfortran). ! !GNU libgfortran is free software; you can redistribute it and/or !modify it under the terms of the GNU General Public !License as publishe...
gpl-2.0
Vitancourt/gcc
gcc/testsuite/gfortran.dg/alloc_comp_initializer_1.f90
136
1751
! { dg-do run } ! This checks the correct functioning of derived types with default initializers ! and allocatable components. ! ! Contributed by Salvatore Filippone <salvatore.filippone@uniroma2.it> ! module p_type_mod type m_type integer, allocatable :: p(:) end type m_type type basep_type type(m_typ...
gpl-2.0
nikola-m/caffa3d-uns
tests/test_tensor_field_operations.f90
1
2370
program testFieldOperation use types use utils use geometry use tensor_fields use output implicit none ! Locals integer :: ierr type(volVectorField) :: vec1, vec2 type(volScalarField) :: phi type(volVectorField) :: resVec type(volTensorField) :: T ! 1) Print code logo and timestamp in mo...
gpl-3.0
sudosurootdev/gcc
libgfortran/generated/_sinh_r4.F90
35
1473
! Copyright (C) 2002-2014 Free Software Foundation, Inc. ! Contributed by Paul Brook <paul@nowt.org> ! !This file is part of the GNU Fortran 95 runtime library (libgfortran). ! !GNU libgfortran is free software; you can redistribute it and/or !modify it under the terms of the GNU General Public !License as publishe...
gpl-2.0
luogyong/feasolver
FEMGRID/InsertPoints.f90
1
1549
subroutine InsertPoint() use meshDS use dflib implicit none integer::i,j,M character*7::msg integer::n1,n2 real(8)::d1,d2,d3,t1,t2 !三角形的形心 real(8)::x1,y1,x2,y2,s1,s2,factor call MAXKCD() !返回可插度最大的单元 if(iept==-1) return do while(.true.) if(iept>0.and.elt(iept).kcd==0) then call MAXKCD...
lgpl-2.1
sudosurootdev/gcc
gcc/testsuite/gfortran.dg/entry_17.f90
181
1157
function test1(n) integer :: n character(n) :: test1 character(n) :: bar1 test1 = "" return entry bar1() bar1 = "" end function test1 function test2() character(1) :: test2 character(1) :: bar2 test2 = "" return entry bar2() bar2 = "" end function test2 function test3() ! { dg-warning "Obsolesc...
gpl-2.0
RobinsonLab/pgplot
examples/pgdemo14.f
1
8895
PROGRAM PGDE14 C----------------------------------------------------------------------- C Demonstration program for PGPLOT: text input with PGRSTR. C C This program illustrates how an interactive program can be written C using PGPLOT. The program displays a number of active fields. Select C one of these fie...
apache-2.0
sudosurootdev/gcc
libgfortran/generated/_log_r16.F90
35
1474
! Copyright (C) 2002-2014 Free Software Foundation, Inc. ! Contributed by Paul Brook <paul@nowt.org> ! !This file is part of the GNU Fortran 95 runtime library (libgfortran). ! !GNU libgfortran is free software; you can redistribute it and/or !modify it under the terms of the GNU General Public !License as publishe...
gpl-2.0
rotorliu/eigen
lapack/ilazlr.f
271
3010
*> \brief \b ILAZLR * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download ILAZLR + dependencies *> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/ilazl...
bsd-3-clause
FrankZisko/likwid
src/likwid.f90
10
1634
! ======================================================================================= ! ! Filename: likwid.f90 ! ! Description: Marker API f90 module ! ! Version: 3.0 ! Released: 29.11.2012 ! ! Author: Jan Treibig (jt), jan.treibig@gmail.com ! Project: likwid ! ! Copyright (C) 2...
gpl-3.0
Vitancourt/gcc
libgomp/testsuite/libgomp.fortran/examples-4/async_target-2.f90
23
1414
! { dg-do run } ! { dg-require-effective-target offload_device } subroutine init (v1, v2, N) !$omp declare target integer :: i, N real :: v1(N), v2(N) do i = 1, N v1(i) = i + 2.0 v2(i) = i - 3.0 end do end subroutine subroutine check (p, N) integer :: i, N real, parameter :: EPS = 0.00001 real...
gpl-2.0
Vitancourt/gcc
gcc/testsuite/gfortran.dg/string_length_2.f90
48
1796
! { dg-do run } ! { dg-options "-fdump-tree-original" } ! Test that all string length calculations are ! optimized away. program main character (len=999) :: c character (len=5) :: unit unit = ' ' read (unit=unit,fmt='(I5)') i ! Hide from optimizers j = 7 c = '123456789' if (len(c( 3 : ...
gpl-2.0
Vitancourt/gcc
gcc/testsuite/gfortran.dg/allocate_with_typespec_2.f
183
3416
C { dg-do compile } C C Allocation of arrays with a type-spec specification with implicit none. C subroutine implicit_none_test1 implicit none real, allocatable :: x(:) real(4), allocatable :: x4(:) real(8), allocatable :: x8(:) double precision, allocatable ::...
gpl-2.0
sudosurootdev/gcc
gcc/testsuite/gfortran.dg/ftell_3.f90
147
1189
! { dg-do run { target fd_truncate } } ! PR43605 FTELL intrinsic returns incorrect position ! Contributed by Janne Blomqvist, Manfred Schwarb ! and Dominique d'Humieres. program ftell_3 integer :: i, j character(1) :: ch character(len=99) :: buffer open(10, form='formatted', position='rewind') write(10, '(a)'...
gpl-2.0
Vitancourt/gcc
gcc/testsuite/gfortran.dg/used_dummy_types_7.f90
155
1119
! { dg-do compile } ! This tests a patch for a regression caused by the second part of ! the fix for PR30554. The linked derived types dummy_atom and ! dummy_atom_list caused a segment fault because they do not have ! a namespace. ! ! Contributed by Daniel Franke <franke.daniel@gmail.com> ! MODULE types TYPE :: dummy...
gpl-2.0
gdooper/scipy
scipy/linalg/src/id_dist/src/idd_id.f
128
15275
c this file contains the following user-callable routines: c c c routine iddp_id computes the ID of a matrix, c to a specified precision. c c routine iddr_id computes the ID of a matrix, c to a specified rank. c c routine idd_reconid reconstructs a matrix from its ID. c c routi...
bsd-3-clause
Vitancourt/gcc
libgfortran/generated/_sin_c8.F90
47
1477
! Copyright (C) 2002-2015 Free Software Foundation, Inc. ! Contributed by Paul Brook <paul@nowt.org> ! !This file is part of the GNU Fortran 95 runtime library (libgfortran). ! !GNU libgfortran is free software; you can redistribute it and/or !modify it under the terms of the GNU General Public !License as publishe...
gpl-2.0
janvc/utility-scripts
progs/source/mctdh_specpara.f90
1
8565
program mctdh_specpara use routines implicit none integer,parameter :: gsfcio = 1 ! IO unit of the file containing the GS frequencies integer,parameter :: esfcio = 2 ! IO unit of the file containing the ES frequencies integer,parameter :: shiftio = 3 ! IO unit...
gpl-3.0
geodynamics/mineos
green.f
1
21549
c c MINEOS version 1.0 by Guy Masters, John Woodhouse, and Freeman Gilbert c c This program is free software; you can redistribute it and/or modify c it under the terms of the GNU General Public License as published by c the Free Software Foundation; either version 2 of the License, or c (at your option) any later vers...
gpl-2.0
ma55acre/ExocortexCrate
Shared/hdf5-1.8.9/hl/fortran/src/H5IMff.f90
15
25639
! * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ! Copyright by The HDF Group. * ! Copyright by the Board of Trustees of the University of Illinois. * ! All rights reserved. * ...
bsd-3-clause
Vitancourt/gcc
gcc/testsuite/gfortran.dg/g77_intrinsics_sub.f
185
2201
! { dg-do compile } ! { dg-options "-std=legacy" } ! ! Testing g77 intrinsics as subroutines integer(kind=8) i8, j8 integer i4, j4 integer i, j character*80 c call gerror (c) call getlog (c) call hostnm (c, status = i8) call hostnm (c, i8) call hostnm (c, status =...
gpl-2.0
RobinsonLab/pgplot
sys_win/W9driv.f
1
22681
C* W9DRIV -- PGPLOT device driver for Windows95 (or WindowsNT) C+ SUBROUTINE W9DRIV (IFUNC, RBUF, NBUF, CHR, LCHR, MODE) USE DFLIB IMPLICIT NONE INTEGER IFUNC, NBUF, LCHR, MODE REAL RBUF(*) CHARACTER CHR*(*) C C PGPLOT driver for IBM PC's and clones running DIG...
apache-2.0
sudosurootdev/gcc
gcc/testsuite/gfortran.dg/c_loc_test_22.f90
59
1113
! { dg-do compile } ! { dg-options "-fdump-tree-original" } ! ! PR fortran/56907 ! subroutine sub(xxx, yyy) use iso_c_binding implicit none integer, target, contiguous :: xxx(:) integer, target :: yyy(:) type(c_ptr) :: ptr1, ptr2, ptr3, ptr4 ptr1 = c_loc (xxx) ptr2 = c_loc (xxx(5:)) ptr3 = c...
gpl-2.0
sudosurootdev/gcc
gcc/testsuite/gfortran.dg/used_types_5.f90
136
1328
! { dg-do compile } ! Tests the fix for a further regression caused by the ! fix for PR28788, as noted in reply #9 in the Bugzilla ! entry by Martin Reinecke <martin@mpa-garching.mpg.de>. ! The problem was caused by certain types of references ! that point to a deleted derived type symbol, after the ! type has been ass...
gpl-2.0
gdooper/scipy
scipy/linalg/src/id_dist/src/idz_id2svd.f
139
8580
c this file contains the following user-callable routines: c c c routine idz_id2svd converts an approximation to a matrix c in the form of an ID to an approximation in the form of an SVD. c c ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc c c c c subroutine idz_id2svd(...
bsd-3-clause
sudosurootdev/gcc
gcc/testsuite/gfortran.dg/debug/pr46756.f
125
1028
C PR debug/46756, reduced from ../20010519-1.f C { dg-do compile } C { dg-options "-O -fcompare-debug" } LOGICAL QDISK,QDW,QCMPCT LOGICAL LNOMA,LRAISE,LSCI,LBIG ASSIGN 801 TO I800 ! { dg-warning "Deleted feature: ASSIGN" "Deleted feature: ASSIGN" } GOTO 800 801 CONTINUE ASSIGN 761 TO I76...
gpl-2.0
sudosurootdev/gcc
gcc/testsuite/gfortran.dg/large_real_kind_1.f90
136
2147
! { dg-do run } ! { dg-require-effective-target fortran_large_real } module testmod integer,parameter :: k = selected_real_kind (precision (0.0_8) + 1) contains subroutine testoutput (a,b,length,f) real(kind=k),intent(in) :: a real(kind=8),intent(in) :: b integer,intent(in) :: length character(len...
gpl-2.0
sudosurootdev/gcc
gcc/testsuite/gfortran.dg/realloc_on_assign_17.f90
133
1150
! { dg-do run } ! Test the fix for PR47517 ! ! Reported by Tobias Burnus <burnus@gcc.gnu.org> ! from a testcase by James Van Buskirk module mytypes implicit none type label integer, allocatable :: parts(:) end type label type table type(label), allocatable :: headers(:) end type table end mo...
gpl-2.0
Mouseomics/R
src/library/stats/src/hclust.f
38
10635
C++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++C C C C HIERARCHICAL CLUSTERING using (user-specified) criterion. C C C C Parameters: C C ...
gpl-2.0
gdooper/scipy
scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dnaitr.f
141
30651
c----------------------------------------------------------------------- c\BeginDoc c c\Name: dnaitr c c\Description: c Reverse communication interface for applying NP additional steps to c a K step nonsymmetric Arnoldi factorization. c c Input: OP*V_{k} - V_{k}*H = r_{k}*e_{k}^T c c with (V_{k}^T)*B*V...
bsd-3-clause
Vitancourt/gcc
gcc/testsuite/gfortran.dg/namelist_11.f
174
1620
c { dg-do run { target fd_truncate } } c This program tests: namelist comment, a blank line before the nameilist name, the namelist name, c a scalar qualifier, various combinations of space, comma and lf delimiters, f-formats, e-formats c a blank line within the data read, nulls, a range qualifier, a new object name be...
gpl-2.0
Vitancourt/gcc
gcc/testsuite/gfortran.dg/nint_2.f90
94
1339
! Test that NINT gives right results even in corner cases ! ! PR 31202 ! http://gcc.gnu.org/ml/fortran/2005-04/msg00139.html ! ! { dg-do run } ! { dg-xfail-run-if "PR 33271, math library bug" { powerpc-ibm-aix* powerpc-*-linux* powerpc64-*-linux* *-*-mingw* } { "-O0" } { "" } } ! Note that this doesn't fail on powerpc6...
gpl-2.0
gdooper/scipy
scipy/special/cdflib/dzror.f
106
7759
SUBROUTINE dzror(status,x,fx,xlo,xhi,qleft,qhi) C********************************************************************** C C SUBROUTINE DZROR(STATUS, X, FX, XLO, XHI, QLEFT, QHI) C Double precision ZeRo of a function -- Reverse Communication C C C Function C C C Performs th...
bsd-3-clause
Vitancourt/gcc
gcc/testsuite/gfortran.dg/pr45578.f90
181
1574
! { dg-do run } !*==CENTCM.spg processed by SPAG 6.55Dc at 09:26 on 23 Sep 2005 SUBROUTINE CENTCM IMPLICIT DOUBLE PRECISION(A-H,O-Z) PARAMETER (NM=16384) PARAMETER (NG=100) PARAMETER (NH=100) PARAMETER (MU=20) PARAMETER (NL=1) PARAMETER (LL=10*NM) PARAMETER (KP=200...
gpl-2.0
Vitancourt/gcc
gcc/testsuite/gfortran.dg/coarray_39.f90
88
1944
! { dg-do compile } ! { dg-options "-fcoarray=single" } ! ! Valid code - but currently not implemented for -fcoarray=lib; single okay ! subroutine one implicit none type t integer, allocatable :: a integer :: b end type t type t2 type(t), allocatable :: caf2[:] end type t2 type(t), save :: caf[*],x type(t2) :: y...
gpl-2.0
Vitancourt/gcc
gcc/testsuite/gfortran.dg/allocatable_dummy_1.f90
188
1177
! { dg-do run } ! Test procedures with allocatable dummy arguments program alloc_dummy implicit none integer, allocatable :: a(:) integer, allocatable :: b(:) call init(a) if (.NOT.allocated(a)) call abort() if (.NOT.all(a == [ 1, 2, 3 ])) call abort() call useit(a, b) if (.NOT.all(b ...
gpl-2.0
Vitancourt/gcc
gcc/testsuite/gfortran.dg/io_constraints_1.f90
155
2257
! { dg-do compile } ! { dg-options "-std=f95" } ! Part I of the test of the IO constraints patch, which fixes PRs: ! PRs 25053, 25063, 25064, 25066, 25067, 25068, 25069, 25307 and 20862. ! ! Contributed by Paul Thomas <pault@gcc.gnu.org> ! module fails 2000 format (1h , 2i6) ! { dg-error "For...
gpl-2.0
svn2github/pyopt
pyOpt/pyFILTERSD/source/densel.f
2
30645
christen this file denseL.f c Copyright (C) 1996 Roger Fletcher c Current version dated 4 October 2011 c THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THE ECLIPSE PUBLIC c LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM c CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT...
gpl-3.0
Vitancourt/gcc
gcc/testsuite/gfortran.dg/defined_assignment_1.f90
133
1762
! { dg-do run } ! Test the fix for PR46897. ! ! Contributed by Rouson Damian <rouson@sandia.gov> ! module m0 implicit none type component integer :: i = 0 contains procedure :: assign0 generic :: assignment(=)=>assign0 end type type parent type(component) :: foo end type type, extends(pare...
gpl-2.0
sudosurootdev/gcc
gcc/testsuite/gfortran.dg/continuation_3.f90
193
1932
! { dg-do compile } ! { dg-options -std=f95 } ! PR 19262 Test limit on line continuations. Test case derived form case in PR ! by Steve Kargl. Submitted by Jerry DeLisle <jvdelisle@gcc.gnu.org> print *, & "1" // & ! 1 "2" // & ! 2 "3" // & ! 3 "4" // & ! 4 "5" // & ! 5 ...
gpl-2.0
Vitancourt/gcc
gcc/testsuite/gfortran.dg/internal_references_1.f90
135
1045
! { dg-do compile } ! This tests the patch for PRs 24327, 25024 & 25625, which ! are all connected with references to internal procedures. ! This is a composite of the PR testcases; and each is ! labelled by PR. ! ! Contributed by Paul Thomas <pault@gcc.gnu.org> ! ! PR25625 - would neglect to point out that there were...
gpl-2.0
Vitancourt/gcc
gcc/testsuite/gfortran.dg/unlimited_polymorphic_13.f90
104
1684
! { dg-do run } ! ! PR fortran/58793 ! ! Contributed by Vladimir Fuka ! ! Had the wrong value for the storage_size for complex ! module m use iso_fortran_env implicit none integer, parameter :: c1 = real_kinds(1) integer, parameter :: c2 = real_kinds(2) integer, parameter :: c3 = real_kinds(size(real_kinds)-...
gpl-2.0
sudosurootdev/gcc
gcc/testsuite/gfortran.dg/unlimited_polymorphic_13.f90
104
1684
! { dg-do run } ! ! PR fortran/58793 ! ! Contributed by Vladimir Fuka ! ! Had the wrong value for the storage_size for complex ! module m use iso_fortran_env implicit none integer, parameter :: c1 = real_kinds(1) integer, parameter :: c2 = real_kinds(2) integer, parameter :: c3 = real_kinds(size(real_kinds)-...
gpl-2.0
Vitancourt/gcc
gcc/testsuite/gfortran.dg/do_check_6.f90
139
2350
! { dg-do compile } ! ! PR fortran/54958 ! module m integer, protected :: i integer :: j end module m subroutine test1() use m implicit none integer :: A(5) ! Valid: data-implied-do (has a scope of the statement or construct) DATA (A(i), i=1,5)/5*42/ ! OK ! Valid: ac-implied-do (has a scope of the sta...
gpl-2.0
gdooper/scipy
scipy/special/cdflib/cdffnc.f
106
8047
SUBROUTINE cdffnc(which,p,q,f,dfn,dfd,phonc,status,bound) C********************************************************************** C C SUBROUTINE CDFFNC( WHICH, P, Q, F, DFN, DFD, PNONC, STATUS, BOUND ) C Cumulative Distribution Function C Non-central F distribution C C C ...
bsd-3-clause
sudosurootdev/gcc
gcc/testsuite/gfortran.dg/vect/vect-2.f90
96
1235
! { dg-do compile } ! { dg-require-effective-target vect_float } SUBROUTINE FOO(A, B, C) DIMENSION A(1000000), B(1000000), C(1000000) READ*, X, Y A = LOG(X); B = LOG(Y); C = A + B PRINT*, C(500000) END ! First loop (A=LOG(X)) is vectorized using peeling to align the store. ! Same for the second loop (B=LOG(Y)). ! Thi...
gpl-2.0
gdooper/scipy
scipy/integrate/quadpack/dqagpe.f
146
21286
subroutine dqagpe(f,a,b,npts2,points,epsabs,epsrel,limit,result, * abserr,neval,ier,alist,blist,rlist,elist,pts,iord,level,ndin, * last) c***begin prologue dqagpe c***date written 800101 (yymmdd) c***revision date 830518 (yymmdd) c***category no. h2a2a1 c***keywords automatic integrator, g...
bsd-3-clause
Vitancourt/gcc
gcc/testsuite/gfortran.fortran-torture/execute/intrinsic_product.f90
190
1085
! Program to test the PRODUCT intrinsic program testproduct implicit none integer, dimension (3, 3) :: a integer, dimension (3) :: b logical, dimension (3, 3) :: m, tr character(len=12) line a = reshape ((/1, 2, 3, 4, 5, 6, 7, 8, 9/), (/3, 3/)); b = product (a, 1) tr = .true. if (any(b .n...
gpl-2.0