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
tectronics/force-distribution-analysis.gromacs-4-5-3
src/gmxlib/nonbonded/nb_kernel_power6/pwr6kernel331.F
3
26907
C C This source code is part of C C G R O M A C S C C Copyright (c) 1991-2000, University of Groningen, The Netherlands. C Copyright (c) 2001-2009, The GROMACS Development Team C C Gromacs is a library for molecular simulation and trajectory analysis, C written by Erik Lindahl...
gpl-2.0
ars599/mom5
src/land_lad2/lake/lake.F90
10
45363
! ============================================================================ ! lake model module ! ============================================================================ module lake_mod #ifdef INTERNAL_FILE_NML use mpp_mod, only: input_nml_file #else use fms_mod, only: open_namelist_file #endif use fms_mod, o...
gpl-2.0
bgin/MissileSimulation
External/SLICOT/TB04BW.f
2
8893
SUBROUTINE TB04BW( ORDER, P, M, MD, IGN, LDIGN, IGD, LDIGD, GN, $ GD, D, LDD, INFO ) C C SLICOT RELEASE 5.5. C C Copyright (c) 2002-2012 NICONET e.V. C C PURPOSE C C To compute the sum of an P-by-M rational matrix G and a real C P-by-M matrix D. C C ARGUM...
mit
eiselekd/gcc
gcc/testsuite/gfortran.dg/transpose_optimization_1.f90
46
3321
! { dg-do compile } ! { dg-options "-Warray-temporaries -fdump-tree-original" } ! ! PR fortran/45648 ! Non-copying descriptor transpose optimization (for function call args). ! ! Contributed by Richard Sandiford <richard@codesourcery.com> module foo interface subroutine ext1 (a, b) real, intent (in), dimen...
gpl-2.0
redstar3894/android-gcc-4.6
gcc/testsuite/gfortran.dg/fmt_t_2.f90
180
1092
! { dg-options "" } ! { dg-do run } ! pr24699, handle end-of-record on READ with T format ! test contributed by Jerry DeLisle <jvdelisle@gcc.gnu.org> character*132 :: foost1, foost2, foost3 open (11, status="scratch", action="readwrite") write(11, '(a)') "ab cdefghijkl mnop qrst" write(11, '(a)'...
gpl-2.0
redstar3894/android-gcc-4.6
gcc/testsuite/gfortran.dg/masklr_2.F90
162
1106
! Test the MASKL and MASKR intrinsics. ! ! { dg-do run } ! { dg-options "-ffree-line-length-none" } ! { dg-require-effective-target fortran_integer_16 } #define CHECK(I,KIND,FUNCL,FUNCR,RESL,RESR) \ if (maskl(I,KIND) /= RESL) call abort ; \ if (FUNCL(I) /= RESL) call abort ; \ if (maskr(I,KIND) /= RESR) call abo...
gpl-2.0
redstar3894/android-gcc-4.6
gcc/testsuite/gfortran.dg/fmt_error_9.f
166
1082
! { dg-do run } ! { dg-options "-std=gnu" } ! PR38439 I/O PD edit descriptor inconsistency ! Test case prepared by Jerry DeLisle <jvdelisle@gcc.gnu.org> character(len=25) :: str character(len=132) :: msg, line str = '(1pd24.15e6)' line = "initial string" x = 555.25 write (line...
gpl-2.0
pablodebiase/bromoc-e_suite
imc-macro/src/xerbla.f
11
1283
SUBROUTINE XERBLA( SRNAME, INFO ) * * -- LAPACK auxiliary routine (preliminary version) -- * Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd.. * November 2006 * * .. Scalar Arguments .. CHARACTER*(*) SRNAME INTEGER INFO * .. * * Purpose * ======= * * XE...
gpl-3.0
redstar3894/android-gcc-4.6
libgfortran/generated/_asinh_r4.F90
22
1482
! Copyright 2002, 2007, 2009 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 publi...
gpl-2.0
redstar3894/android-gcc-4.6
gcc/testsuite/gfortran.dg/auto_char_dummy_array_1.f90
52
1246
! { dg-do run } ! This tests the fix for pr15809 in which automatic character length, ! dummy, pointer arrays were broken. ! ! contributed by Paul Thomas <pault@gcc.gnu.org> ! module global character(12), dimension(2), target :: t end module global program oh_no_not_pr15908_again character(12), dimension(:), poin...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/volatile3.f90
181
1123
! { dg-do compile } ! { dg-shouldfail "Invalid use of VOLATILE" } ! Test whether volatile statements and attributes are ! properly error checked. ! PR fortran/29601 program volatile_test implicit none real, external, volatile :: foo ! { dg-error "VOLATILE attribute conflicts with EXTERNAL attribute" } real, intr...
gpl-2.0
redstar3894/android-gcc-4.6
gcc/testsuite/gfortran.dg/backspace_1.f
174
1699
! This file is all about BACKSPACE ! { dg-do run { target fd_truncate } } integer i, n, nr real x(10), y(10) ! PR libfortran/20068 open (20, status='scratch') write (20,*) 1 write (20,*) 2 write (20,*) 3 rewind (20) read (20,*) i if (i .ne. 1) call abort wri...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/actual_array_result_1.f90
136
1492
! { dg-do run } ! PR fortan/31692 ! Passing array valued results to procedures ! ! Test case contributed by rakuen_himawari@yahoo.co.jp module one integer :: flag = 0 contains function foo1 (n) integer :: n integer :: foo1(n) if (flag == 0) then call bar1 (n, foo1) else call bar2 (n, foo...
gpl-2.0
eiselekd/gcc
libgfortran/generated/_sin_r8.F90
9
1467
! Copyright (C) 2002-2017 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
redstar3894/android-gcc-4.6
gcc/testsuite/gfortran.dg/nan_1.f90
30
4338
! Test if MIN and MAX intrinsics behave correctly when passed NaNs ! as arguments ! ! { dg-do run } ! { dg-add-options ieee } ! { dg-skip-if "NaN not supported" { spu-*-* } { "*" } { "" } } ! module aux2 interface isnan module procedure isnan_r module procedure isnan_d end interface isnan interface isinf...
gpl-2.0
redstar3894/android-gcc-4.6
gcc/testsuite/gfortran.dg/unformatted_subrecord_1.f90
174
1579
! { dg-do run { target fd_truncate } } ! { dg-options "-fmax-subrecord-length=16" } ! Test Intel record markers with 16-byte subrecord sizes. ! PR 32770: Use explicit kinds for all integers and constants, ! to avoid problems with -fdefault-integer-8 and -fdefault-real-8 program main implicit none integer(kind=4), ...
gpl-2.0
trankmichael/scipy
scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/dmout.f
173
5551
*----------------------------------------------------------------------- * Routine: DMOUT * * Purpose: Real matrix output routine. * * Usage: CALL DMOUT (LOUT, M, N, A, LDA, IDIGIT, IFMT) * * Arguments * M - Number of rows of A. (Input) * N - Number of columns of A. (Input) * A ...
bsd-3-clause
redstar3894/android-gcc-4.6
gcc/testsuite/gfortran.dg/pr46519-1.f
151
1032
! { dg-do compile { target i?86-*-* x86_64-*-* } } ! { dg-options "-O3 -mavx -mvzeroupper -mtune=generic -dp" } PROGRAM MG3XDEMO INTEGER LM, NM, NV, NR, NIT PARAMETER( LM=7 ) C PARAMETER( NIT=40 ) PARAMETER( NM=2+2**LM, NV=NM**3 ) PARAMETER( NR = (8*(NM**3+NM**2+5*NM-23+7*LM))/7 )...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/array_initializer_1.f90
171
1563
! { dg-do run } ! Check the fix for PR16206, in which array sections would not work ! in array initializers. Use of implied do loop variables for indices ! and substrings, with and without implied do loops, were fixed at the ! same time. ! ! Contributed by Paul Thomas <pault@gcc.gnu.org> ! based on testcase fr...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/subref_array_pointer_1.f90
174
1647
! { dg-do run } ! Test the fix for PRs29396, 29606, 30625 and 30871, in which pointers ! to arrays with subreferences did not work. ! call pr29396 call pr29606 call pr30625 call pr30871 contains subroutine pr29396 ! Contributed by Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> CHARACTER(LEN=2), DIMENSION...
gpl-2.0
Lrakulka/visp
3rdparty/lapackblas/lapack/dlasv2.f
22
8489
*> \brief \b DLASV2 computes the singular value decomposition of a 2-by-2 triangular matrix. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download DLASV2 + dependencies *> <a href="http://www.netlib.org/cg...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/intrinsic_spread_1.f90
174
6514
! { dg-do run } program foo implicit none integer(kind=1), dimension (10) :: i_1 integer(kind=1), dimension (2, 3) :: a_1 integer(kind=1), dimension (2, 2, 3) :: b_1 integer(kind=2), dimension (10) :: i_2 integer(kind=2), dimension (2, 3) :: a_2 integer(kind=2), dimension (2, 2, 3) :: b_2 intege...
gpl-2.0
eiselekd/gcc
libgomp/testsuite/libgomp.fortran/omp_parse4.f90
202
1904
! { dg-do run } !$ use omp_lib call test_workshare contains subroutine test_workshare integer :: i, j, k, l, m double precision, dimension (64) :: d, e integer, dimension (10) :: f, g integer, dimension (16, 16) :: a, b, c integer, dimension (16) :: n d(:) = 1 e = 7 f = 10 l = 2...
gpl-2.0
pablodebiase/bromoc-e_suite
tools/src/wordmod.f90
3
4820
! WORDMOD Word Handler Library/Module ! Copyright (C) 2014 Pablo M. De Biase (pablodebiase@gmail.com) ! ! This program 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 Lic...
gpl-3.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/coarray_lib_alloc_4.f90
9
1927
! { dg-do run } ! { dg-options "-fcoarray=lib -lcaf_single -fdump-tree-original" } ! { dg-additional-options "-latomic" { target libatomic_available } } ! ! Allocate/deallocate with libcaf. ! program test_caf_alloc type t integer, allocatable :: i real, allocatable :: r(:) end type t type(t), allocatab...
gpl-2.0
redstar3894/android-gcc-4.6
gcc/testsuite/gfortran.dg/substr_5.f90
174
1277
! { dg-do run } ! character(*), parameter :: chrs = '-+.0123456789eEdD' character(*), parameter :: expr = '-+.0123456789eEdD' integer :: i if (index(chrs(:), expr) /= 1) call abort if (index(chrs(14:), expr) /= 0) call abort if (index(chrs(:12), expr) /= 0) call abort if (index(chrs, expr(:)) /= 1) cal...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/substr_5.f90
174
1277
! { dg-do run } ! character(*), parameter :: chrs = '-+.0123456789eEdD' character(*), parameter :: expr = '-+.0123456789eEdD' integer :: i if (index(chrs(:), expr) /= 1) call abort if (index(chrs(14:), expr) /= 0) call abort if (index(chrs(:12), expr) /= 0) call abort if (index(chrs, expr(:)) /= 1) cal...
gpl-2.0
eiselekd/gcc
libgfortran/generated/_atan2_r10.F90
9
1490
! Copyright (C) 2002-2017 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
dagss/healpix
src/f90/mod/indmed.f90
3
7331
!----------------------------------------------------------------------------- ! ! Copyright (C) 1997-2013 Krzysztof M. Gorski, Eric Hivon, ! Benjamin D. Wandelt, Anthony J. Banday, ! Matthias Bartelmann, Hans K. Eriksen, ! Frode K. Hansen, M...
gpl-2.0
msleigh/snes
src/io_utils.f90
1
1404
MODULE io_utils_mod PRIVATE PUBLIC :: get_free_lun CONTAINS !> \author msleigh !! !! PURPOSE: Gets free logical unit number (LUN) !! !! STRUCTURE !! 1. Initialise variables !! 2. Find free LUN SUBROUTINE get_free_lun( & & logical_unit_number, & & errstat) USE getkinds_mod IMPLICIT NONE...
mit
Lrakulka/visp
3rdparty/lapackblas/lapack/dlasd3.f
3
14988
*> \brief \b DLASD3 finds all square roots of the roots of the secular equation, as defined by the values in D and Z, and then updates the singular vectors by matrix multiplication. Used by sbdsdc. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/l...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/intrinsic_argument_conformance_2.f90
166
1763
! { dg-do compile } ! Some CSHIFT, EOSHIFT and UNPACK conformance tests ! program main implicit none real, dimension(1) :: a1, b1, c1 real, dimension(1,1) :: a2, b2, c2 real, dimension(1,0) :: a, b, c real :: tempn(1), tempv(5) real,allocatable :: foo(:) allocate(foo(0)) tempn = 2.0 a1 = 0 a2 = 0...
gpl-2.0
gomezstevena/x-wind
src/mbaMesh.f
1
2801
C ===================================================================== Program Main C ===================================================================== implicit none c Maximum number of nodes, elements and boundary edges Integer nvmax, nbmax, ntmax Parameter(nvmax= 20000, nbmax= 10000, n...
gpl-3.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/c_f_pointer_tests_6.f90
116
1333
! { dg-do compile } ! ! PR fortran/38894 ! ! subroutine test2 use iso_c_binding type(c_funptr) :: fun type(c_ptr) :: fptr procedure(), pointer :: bar integer, pointer :: bari call c_f_procpointer(fptr,bar) ! { dg-error "Argument CPTR at .1. to C_F_PROCPOINTER shall have the type TYPE.C_FUNPTR." } call c_f_pointer(fun,...
gpl-2.0
trankmichael/scipy
scipy/linalg/src/id_dist/src/iddp_rid.f
133
10029
c this file contains the following user-callable routines: c c c routine iddp_rid computes the ID, to a specified precision, c of a matrix specified by a routine for applying its transpose c to arbitrary vectors. This routine is randomized. c c ccccccccccccccccccccccccccccccccccccccccccccccccccc...
bsd-3-clause
eiselekd/gcc
gcc/testsuite/gfortran.dg/coarray_lib_alloc_3.f90
28
1240
! { dg-do compile } ! { dg-options "-fcoarray=lib -fdump-tree-original" } ! ! Allocate/deallocate with libcaf. ! ! As coarray_lib_alloc_2.f90 but for a subroutine instead of the PROGRAM ! subroutine test type t end type t class(t), allocatable :: xx[:], yy(:)[:] integer :: stat character(len=200) :: errmsg alloca...
gpl-2.0
eiselekd/gcc
libgfortran/generated/_sqrt_c8.F90
9
1482
! Copyright (C) 2002-2017 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
seismology-RUB/ASKI
f90/primitiveTypeEncoding.f90
1
1400
!---------------------------------------------------------------------------- ! Copyright 2016 Wolfgang Friederich (Ruhr-Universitaet Bochum, Germany) ! ! This file is part of ASKI version 1.2. ! ! ASKI version 1.2 is free software: you can ! redistribute it and/or modify it under the terms of the GNU ! Gener...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/ieee/ieee_8.f90
7
3794
! { dg-do run { xfail aarch64*-*-gnu arm*-*-gnueabi arm*-*-gnueabihf } } ! XFAIL because of PR libfortran/78449. module foo use :: ieee_exceptions use :: ieee_arithmetic end module foo module bar use foo use :: ieee_arithmetic, yyy => ieee_support_rounding use :: ieee_arithmetic, zzz => ieee_selected_real_k...
gpl-2.0
redstar3894/android-gcc-4.6
libgfortran/generated/_dim_r10.F90
22
1462
! Copyright 2002, 2007, 2009 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 publi...
gpl-2.0
redstar3894/android-gcc-4.6
gcc/testsuite/gfortran.dg/vect/fast-math-real8-pr40801.f90
26
1047
! { dg-do compile } MODULE YOMPHY0 REAL :: ECMNP REAL :: SCO REAL :: USDMLT END MODULE YOMPHY0 SUBROUTINE ACCONV ( KIDIA,KFDIA,KLON,KTDIA,KLEV,& &CDLOCK) USE YOMPHY0 , ONLY : ECMNP ,SCO ,USDMLT REAL :: PAPHIF(KLON,KLEV),PCVGQ(KLON,KLEV)& &,PFPLCL(KLON,0:KLEV),PFPLCN(KLON,0:KLEV),PSTRCU...
gpl-2.0
redstar3894/android-gcc-4.6
libgfortran/generated/_log_r10.F90
22
1478
! Copyright 2002, 2007, 2009 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 publi...
gpl-2.0
redstar3894/android-gcc-4.6
gcc/testsuite/gfortran.dg/write_rewind_2.f
166
1183
! { dg-do run } ! PR 26499 Test write with rewind sequences to make sure buffering and ! end-of-file conditions are handled correctly. Derived from test case by Dale ! Ranta. Submitted by Jerry DeLisle <jvdelisle@gcc.gnu.org>. program test dimension idata(1011) idata = -42 open(unit=11,form='...
gpl-2.0
pseudospectators/UP2D
src/navier_stokes/add_pressure.f90
2
1449
!------------------------------------------------------------------------------- ! add pressure gradient to right hand side of navier-stokes ! INPUT: ! nlk pre-computed source terms (penalization, non-linear) FOURIER space ! OUTPUT: ! nlk now divergence-free right hand side !------------------------------------...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/move_alloc_8.f90
151
2675
! { dg-do compile } ! ! PR fortran/50684 ! ! Module "bug" contributed by Martin Steghöfer. ! MODULE BUG TYPE MY_TYPE INTEGER, ALLOCATABLE :: VALUE END TYPE CONTAINS SUBROUTINE POINTER_INTENT_IN_BUG_WORKING(POINTER_INTENT_IN_VARIABLE) TYPE(MY_TYPE), POINTER, INTENT(IN) :: POINTER_INTENT_IN_VARIABLE TY...
gpl-2.0
kbrannan/PyHSPF
src/hspf13/hrints.f
2
67724
C C C SUBROUTINE HRITSI I (MSGFL) C C + + + PURPOSE + + + C read in general timseries data from message file C C + + + DUMMY ARGUMENTS + + + INTEGER MSGFL C C + + + ARGUMENT DEFINITIONS + + + C MSGFL - message file unit number C C + + + COMMON BLOCKS- INTE...
bsd-3-clause
eiselekd/gcc
gcc/testsuite/gfortran.fortran-torture/execute/entry_2.f90
190
1166
! Test alternate entry points for functions when the result types ! of all entry points match character*(*) function f1 (str, i, j) character str*(*), e1*(*), e2*(*) integer i, j f1 = str (i:j) return entry e1 (str, i, j) i = i + 1 entry e2 (str, i, j) j = j - 1 e2 = str (i:j) end function character*5 fun...
gpl-2.0
redstar3894/android-gcc-4.6
libgfortran/generated/_anint_r16.F90
22
1488
! Copyright 2002, 2007, 2009 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 publi...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/alloc_comp_transformational_1.f90
166
2244
! { dg-do run } ! Tests the fix for PR41478, in which double frees would occur because ! transformational intrinsics did not copy the allocatable components ! so that they were (sometimes) freed twice on exit. In addition, ! The original allocatable components of a1 were not freed, so that ! memory leakage occurred. !...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/move_alloc_6.f90
146
1565
! { dg-do run } ! ! Test move_alloc for polymorphic scalars ! ! module myalloc implicit none type :: base_type integer :: i =2 end type base_type type, extends(base_type) :: extended_type integer :: j = 77 end type extended_type contains subroutine myallocate (a) class(base_type), allocatab...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/bound_7.f90
174
7185
! { dg-do run } ! { dg-options "-std=gnu" } ! PR fortran/29391 ! This file is here to check that LBOUND and UBOUND return correct values ! ! Contributed by Francois-Xavier Coudert (coudert@clipper.ens.fr) implicit none integer, allocatable :: i(:,:), j(:), u(:,:,:,:) allocate (i(-1:1,-1:1)) i = 0 allocate (j...
gpl-2.0
trankmichael/scipy
scipy/special/cdflib/fpser.f
151
1154
DOUBLE PRECISION FUNCTION fpser(a,b,x,eps) C----------------------------------------------------------------------- C C EVALUATION OF I (A,B) C X C C FOR B .LT. MIN(EPS,EPS*A) AND X .LE. 0.5. C C---------------------------------------------------------------...
bsd-3-clause
eiselekd/gcc
gcc/testsuite/gfortran.dg/gomp/udr1.f90
119
1508
! { dg-do compile } subroutine f1 !$omp declare reduction (.le.:integer:omp_out = omp_out + omp_in) ! { dg-error "Invalid operator for" } end subroutine f1 subroutine f2 !$omp declare reduction (bar:real(kind=4):omp_out = omp_out + omp_in) real(kind=4) :: r integer :: i r = 0.0 !$omp parallel do reduction (bar:r...
gpl-2.0
trankmichael/scipy
scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/znaupd.f
142
27770
c\BeginDoc c c\Name: znaupd c c\Description: c Reverse communication interface for the Implicitly Restarted Arnoldi c iteration. This is intended to be used to find a few eigenpairs of a c complex linear operator OP with respect to a semi-inner product defined c by a hermitian positive semi-definite real matrix B. ...
bsd-3-clause
pablodebiase/bromoc-e_suite
bromoc-e/src/grandmod.f90
1
3666
! BROMOC-E ! Electrodiffusion, Gran Canonical Monte Carlo, Brownian,Dynamics ! and Coarse Grain Model DNA Simulation Program. ! Copyright (C) 2014 Pablo M. De Biase (pablodebiase@gmail.com) ! ! This program is free software: you can redistribute it and/or modify ! it under the terms of the GNU Genera...
gpl-3.0
eiselekd/gcc
libgfortran/generated/_sqrt_c4.F90
9
1483
! Copyright (C) 2002-2017 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
eiselekd/gcc
gcc/testsuite/gfortran.dg/allocatable_scalar_13.f90
48
2175
! { dg-do run } ! { dg-options "-fdump-tree-original" } ! ! Test the fix for PR66079. The original problem was with the first ! allocate statement. The rest of this testcase fixes problems found ! whilst working on it! ! ! Reported by Damian Rouson <damian@sourceryinstitute.org> ! type subdata integer, allocatab...
gpl-2.0
Lrakulka/visp
3rdparty/lapackblas/lapack/dpotrf2.f
22
6318
*> \brief \b DPOTRF2 * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * RECURSIVE SUBROUTINE DPOTRF2( UPLO, N, A, LDA, INFO ) * * .. Scalar Arguments .. * CHARACTER U...
gpl-2.0
seismology-RUB/ASKI
f90/eventStationVtkFile.f90
1
45433
!---------------------------------------------------------------------------- ! Copyright 2016 Florian Schumacher (Ruhr-Universitaet Bochum, Germany) ! ! This file is part of ASKI version 1.2. ! ! ASKI version 1.2 is free software: you can redistribute it and/or modify ! it under the terms of the GNU General Pu...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/c_by_val_5.f90
107
1516
! { dg-do run } ! Overwrite -pedantic setting: ! { dg-options "-Wall" } ! ! Tests the fix for PR31668, in which %VAL was rejected for ! module and internal procedures. ! subroutine bmp_write(nx) implicit none integer, value :: nx if(nx /= 10) call abort() nx = 11 if(nx /= 11) call abort() end subroutine bmp...
gpl-2.0
pablodebiase/bromoc-e_suite
bromoc-e/src/angdih.f90
1
1566
! BROMOC-E ! Electrodiffusion, Gran Canonical Monte Carlo, Brownian,Dynamics ! and Coarse Grain Model DNA Simulation Program. ! Copyright (C) 2014 Pablo M. De Biase (pablodebiase@gmail.com) ! ! This program is free software: you can redistribute it and/or modify ! it under the terms of the GNU Genera...
gpl-3.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/use_iso_c_binding.f90
155
1509
! { dg-do compile } ! this is to simply test that the various ways the use statement can ! appear are handled by the compiler, since i did a special treatment ! of the intrinsic iso_c_binding module. note: if the user doesn't ! provide the 'intrinsic' keyword, the compiler will check for a user ! provided module b...
gpl-2.0
trankmichael/scipy
scipy/interpolate/fitpack/pardeu.f
91
5124
subroutine pardeu(tx,nx,ty,ny,c,kx,ky,nux,nuy,x,y,z,m, * wrk,lwrk,iwrk,kwrk,ier) c subroutine pardeu evaluates on a set of points (x(i),y(i)),i=1,...,m c the partial derivative ( order nux,nuy) of a bivariate spline c s(x,y) of degrees kx and ky, given in the b-spline representation. c c calling sequence...
bsd-3-clause
eiselekd/gcc
gcc/testsuite/gfortran.dg/missing_optional_dummy_1.f90
188
1681
! { dg-do run } ! Test the fix for PR26891, in which an optional argument, whose actual ! is a missing dummy argument would cause a segfault. ! ! Contributed by Paul Thomas <pault@gcc.gnu.org> ! logical :: back =.false. ! This was the case that would fail - PR case was an intrinsic call. if (scan ("A quick brown ...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/namelist_70.f90
162
13948
! { dg-do run } ! ! PR fortran/47339 ! PR fortran/43062 ! ! Run-time test for Fortran 2003 NAMELISTS ! Version for non-strings ! program nml_test implicit none character(len=1000) :: str character(len=5), allocatable :: a(:) character(len=5), allocatable :: b character(len=5), pointer :: ap(:) character(l...
gpl-2.0
Lrakulka/visp
3rdparty/lapackblas/blas/dgemv.f
4
8770
*> \brief \b DGEMV * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * * Definition: * =========== * * SUBROUTINE DGEMV(TRANS,M,N,ALPHA,A,LDA,X,INCX,BETA,Y,INCY) * * .. Scalar Arguments .. * DOUBLE PRECISION ...
gpl-2.0
trankmichael/scipy
scipy/interpolate/fitpack/fpknot.f
124
2079
subroutine fpknot(x,m,t,n,fpint,nrdata,nrint,nest,istart) implicit none c subroutine fpknot locates an additional knot for a spline of degree c k and adjusts the corresponding parameters,i.e. c t : the position of the knots. c n : the number of knots. c nrint : the number of knotintervals...
bsd-3-clause
jasonlarkin/p3dfft
build/fft_spec.F90
3
1906
! This file is part of P3DFFT library ! ! P3DFFT ! ! Software Framework for Scalable Fourier Transforms in Three Dimensions ! ! Copyright (C) 2006-2014 Dmitry Pekurovsky ! Copyright (C) 2006-2014 University of California ! Copyright (C) 2010-2011 Jens Henrik Goebbert ! ! This program is free software:...
gpl-3.0
redstar3894/android-gcc-4.6
gcc/testsuite/gfortran.dg/spread_scalar_source.f90
188
1376
! { dg-do run } ! { dg-options "-O0" } character*1 :: i, j(10) character*8 :: buffer integer(kind=1) :: ii, jj(10) type :: mytype real(kind=8) :: x integer(kind=1) :: i character*15 :: ch end type mytype type(mytype) :: iii, jjj(10) i = "w" ii = 42 iii = mytype (41.9999_8, 77, "test_of_s...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/argument_checking_14.f90
193
2725
! { dg-do compile } ! { dg-options "-std=f95" } ! ! PR fortran/34796 ! ! This checks for Fortran 2003 extensions. ! ! Argument checks: ! - elements of deferred-shape arrays (= non-dummies) are allowed ! as the memory is contiguous ! - while assumed-shape arrays (= dummy arguments) and pointers are ! not (strides ca...
gpl-2.0
pablodebiase/bromoc-e_suite
pb-pnp/src/pnpanal.f
3
46095
! PB-PNP - Poisson-Boltzmann and Poisson-Nernst-Planck Equations Solver ! Copyright (C) 2014 Pablo M. De Biase (pablodebiase@gmail.com) ! ! This program 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 Found...
gpl-3.0
trankmichael/scipy
scipy/linalg/src/id_dist/src/idz_qrpiv.f
128
26268
c this file contains the following user-callable routines: c c c routine idzp_qrpiv computes the pivoted QR decomposition c of a matrix via Householder transformations, c stopping at a specified precision of the decomposition. c c routine idzr_qrpiv computes the pivoted QR decomposition c ...
bsd-3-clause
eiselekd/gcc
libgfortran/generated/_conjg_c4.F90
9
1460
! Copyright (C) 2002-2017 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
trankmichael/scipy
scipy/interpolate/fitpack/fpgrre.f
115
10174
subroutine fpgrre(ifsx,ifsy,ifbx,ifby,x,mx,y,my,z,mz,kx,ky,tx,nx, * ty,ny,p,c,nc,fp,fpx,fpy,mm,mynx,kx1,kx2,ky1,ky2,spx,spy,right,q, * ax,ay,bx,by,nrx,nry) c .. c ..scalar arguments.. real*8 p,fp integer ifsx,ifsy,ifbx,ifby,mx,my,mz,kx,ky,nx,ny,nc,mm,mynx, * kx1,kx2,ky1,ky2 c ..array...
bsd-3-clause
eiselekd/gcc
gcc/testsuite/gfortran.dg/class_optional_1.f90
136
4791
! { dg-do run } ! { dg-options "-fcoarray=single" } ! ! PR fortran/50981 ! PR fortran/54618 ! implicit none type t integer, allocatable :: i end type t type, extends (t):: t2 integer, allocatable :: j end type t2 class(t), allocatable :: xa, xa2(:), xac[:], xa2c(:)[:] class(t), pointer :: xp, xp2(...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/PR49268.f90
159
1113
! { dg-do run } ! { dg-options "-fcray-pointer" } ! Test the fix for a runtime error ! Contributed by Mike Kumbera <kumbera1@llnl.gov> program bob implicit none integer*8 ipfoo integer n,m,i,j real*8 foo common /ipdata/ ipfoo common /ipsize/ n,m ...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/goacc/loop-tree-1.f90
36
1316
! { dg-additional-options "-fdump-tree-original -fdump-tree-gimple -std=f2008" } ! test for tree-dump-original and spaces-commas program test implicit none integer :: i, j, k, m, sum REAL :: a(64), b(64), c(64) !$acc kernels !$acc loop collapse(2) DO i = 1,10 DO j = 1,10 ENDDO ENDDO !$acc ...
gpl-2.0
redstar3894/android-gcc-4.6
gcc/testsuite/gfortran.dg/protected_6.f90
26
1567
! { dg-do compile } ! { dg-shouldfail "Invalid Fortran 2003 code" } ! { dg-options "-std=f2003 -fall-intrinsics" } ! PR fortran/23994 ! ! Test PROTECTED attribute. Within the module everything is allowed. ! Outside (use-associated): For pointers, their association status ! may not be changed. For nonpointers, their val...
gpl-2.0
redstar3894/android-gcc-4.6
gcc/testsuite/gfortran.dg/actual_array_substr_2.f90
188
1570
! { dg-do run } ! Tests the fix for pr28174, in which the fix for pr28118 was ! corrupting the character lengths of arrays that shared a ! character length structure. In addition, in developing the ! fix, it was noted that intent(out/inout) arguments were not ! getting written back to the calling scope. ! ! Based on t...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/do_1.f90
10
1484
! { dg-do run } ! { dg-options "-Wall" } ! Program to check corner cases for DO statements. program do_1 implicit none integer i, j ! limit=HUGE(i), step > 1 j = 0 do i = HUGE(i) - 10, HUGE(i), 2 j = j + 1 end do if (j .ne. 6) call abort j = 0 do i = HUGE(i) - 9, HUGE(i), 2 j = j + 1 end do...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/char_result_3.f90
188
1934
! Related to PR 15326. Try calling string functions whose lengths involve ! some sort of array calculation. ! { dg-do run } pure elemental function double (x) integer, intent (in) :: x integer :: double double = x * 2 end function double program main implicit none interface pure elemental function doub...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/assumed_type_1.f90
155
1256
! { dg-do compile } ! ! PR fortran/48820 ! ! Test TYPE(*) ! ! Based on a contributed test case by Walter Spector ! module mpi_interface implicit none interface mpi_send subroutine MPI_Send (buf, count, datatype, dest, tag, comm, ierr) type(*), intent(in) :: buf(:) integer, intent(in) :: count ...
gpl-2.0
pablodebiase/bromoc-e_suite
bromoc-e/src/ioxmod.f90
1
1088
! BROMOC-E ! Electrodiffusion, Gran Canonical Monte Carlo, Brownian,Dynamics ! and Coarse Grain Model DNA Simulation Program. ! Copyright (C) 2014 Pablo M. De Biase (pablodebiase@gmail.com) ! ! This program is free software: you can redistribute it and/or modify ! it under the terms of the GNU Genera...
gpl-3.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/gomp/udr2.f90
119
2306
! { dg-do compile } subroutine f6 !$omp declare reduction (foo:real:omp_out (omp_in)) ! { dg-error "Unclassifiable OpenMP directive" } !$omp declare reduction (bar:real:omp_out = omp_in * omp_out) & ! { dg-error "Unclassifiable OpenMP directive" } !$omp & initializer (omp_priv (omp_orig)) end subroutine f6 subroutine ...
gpl-2.0
dagss/healpix
src/f90/ngsims_full_sky/sky_ng_sim.F90
4
24999
!----------------------------------------------------------------------------- ! ! Copyright (C) 1997-2013 Krzysztof M. Gorski, Eric Hivon, ! Benjamin D. Wandelt, Anthony J. Banday, ! Matthias Bartelmann, Hans K. Eriksen, ! Frode K. Hansen, M...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/integer_exponentiation_4.f90
172
1485
! { dg-do compile } ! { dg-options "" } program test implicit none !!!!!! INTEGER BASE !!!!!! print *, 0**0 print *, 0**1 print *, 0**(-1) ! { dg-error "Division by zero" } print *, 0**(huge(0)) print *, 0**(-huge(0)-1) ! { dg-error "Division by zero" } print *, 0**(2_8**32) print *, 0**(-(2_8**32)) ! ...
gpl-2.0
eiselekd/gcc
gcc/testsuite/gfortran.dg/graphite/pr68335.f90
46
2800
! { dg-options "-O2 -floop-nest-optimize" } MODULE whittaker INTEGER, PARAMETER :: dp=8 INTEGER, PARAMETER :: maxfac = 30 REAL(KIND=dp), PARAMETER, DIMENSION (-1:2*maxfac+1) :: dfac = (/& 0.10000000000000000000E+01_dp, 0.10000000000000000000E+01_dp, 0.10000000000000000000E+01_dp,& 0.20000000000000000000E+01_dp...
gpl-2.0
redstar3894/android-gcc-4.6
gcc/testsuite/gfortran.dg/large_real_kind_2.F90
172
2852
! { dg-do run } ! { dg-require-effective-target fortran_large_real } ! { dg-xfail-if "" { "*-*-freebsd*" } { "*" } { "" } } ! Testing library calls on large real kinds (larger than kind=8) implicit none integer,parameter :: k = selected_real_kind (precision (0.0_8) + 1) real(8),parameter :: eps = 1e-8 real(...
gpl-2.0
eiselekd/gcc
libgomp/testsuite/libgomp.fortran/examples-4/simd-5.f90
47
1551
! { dg-do run } ! { dg-additional-options "-msse2" { target sse2_runtime } } ! { dg-additional-options "-mavx" { target avx_runtime } } module SIMD5_mod contains subroutine work( a, b, c, n ) implicit none integer :: i,j,n double precision :: a(n,n), b(n,n), c(n,n), tmp !$omp do simd collapse(2...
gpl-2.0
laagesen/moose
modules/tensor_mechanics/test/include/materials/abaqus/utility/ROTSIGInterface.f
62
3234
**************************************************************************************** ** UTILITY SUBROUTINE FOR INTERFACE: ROTSIG ** ** CALULATE ROTATED STRESS/STRAIN TENSOR ** *****************************************************...
lgpl-2.1
katyhuff/moose
modules/solid_mechanics/include/materials/abaqus/utility/ROTSIGInterface.f
62
3234
**************************************************************************************** ** UTILITY SUBROUTINE FOR INTERFACE: ROTSIG ** ** CALULATE ROTATED STRESS/STRAIN TENSOR ** *****************************************************...
lgpl-2.1
nguy/AWOT
awot/src/libs/libtmg/gridbox_1d.f
2
1746
SUBROUTINE GRIDBOX_1D(XMIN,DELX,NX,X, $IX_FACE,X_FACE) C Thomas Matejka NOAA/NSSL 28 April 1998 C======================================================================= C This subroutine finds consecutive points in a one-dimensional grid C that enclose a specified coordinate. When the specified coordina...
gpl-2.0
tkelman/OpenBLAS
lapack-netlib/SRC/slargv.f
24
4368
*> \brief \b SLARGV generates a vector of plane rotations with real cosines and real sines. * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SLARGV + dependencies *> <a href="http://www.netlib.org/...
bsd-3-clause
xavierandrade/fortrancl
testsuite/utils.f90
3
3378
module utils use cl implicit none private public :: & error_exit, & initialize, & build_kernel contains subroutine error_exit(msg, ierr) character(len=*), intent(in) :: msg integer, optional, intent(in) :: ierr write(*,'(a)') msg if(present(ierr)) w...
lgpl-3.0
blue236/gcc
gcc/testsuite/gfortran.dg/typebound_override_5.f90
109
1118
! { dg-do compile } ! ! PR 54190: TYPE(*)/assumed-rank: Type/rank check too relaxed for dummy procedure ! PR 57217: [4.7/4.8/4.9 Regression][OOP] Accepts invalid TBP overriding - lacking arguments check ! ! Contributed by Tobias Burnus <burnus@gcc.gnu.org> module base_mod implicit none type base_type ...
gpl-2.0
migueldvb/piernik
src/gravity/hydrostatic.F90
2
19672
! ! 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
blue236/gcc
gcc/testsuite/gfortran.dg/auto_char_dummy_array_1.f90
79
1217
! { dg-do run } ! This tests the fix for pr15809 in which automatic character length, ! dummy, pointer arrays were broken. ! ! contributed by Paul Thomas <pault@gcc.gnu.org> ! module global character(12), dimension(2), target :: t end module global program oh_no_not_pr15908_again character(12), dimension(:), poin...
gpl-2.0
william-dawson/NTPoly
Source/Fortran/ExponentialSolversModule.F90
1
23371
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !> A Module For Computing Matrix Exponentials and Logarithms. MODULE ExponentialSolversModule USE ChebyshevSolversModule, ONLY : ChebyshevPolynomial_t, Compute, & & ConstructPolynomial, DestructPolynomial, FactorizedCompute, & ...
mit
tkelman/OpenBLAS
lapack-netlib/SRC/sgegv.f
94
25204
*> \brief <b> SGEEVX computes the eigenvalues and, optionally, the left and/or right eigenvectors for GE matrices</b> * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.netlib.org/lapack/explore-html/ * *> \htmlonly *> Download SGEGV + dependencies *> <a hre...
bsd-3-clause
tkelman/OpenBLAS
lapack-netlib/SRC/clahef_rook.f
27
39771
* \brief \b CLAHEF_ROOK computes a partial factorization of a complex Hermitian indefinite matrix using the bounded Bunch-Kaufman ("rook") diagonal pivoting method (blocked algorithm, calling Level 3 BLAS). * * =========== DOCUMENTATION =========== * * Online html documentation available at * http://www.net...
bsd-3-clause