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 |
|---|---|---|---|---|---|
marshallward/mom | src/shared/oda_tools/oda_core_ecda.F90 | 6 | 153794 | ! -*- f90 -*-
module oda_core_ecda_mod
! FMS Shared modules
use fms_mod, only : file_exist, read_data
use fms_mod, only : open_namelist_file, check_nml_error, close_file
use fms_mod, only : error_mesg, FATAL, NOTE
#ifdef INTERNAL_FILE_NML
USE mpp_mod, ONLY: input_nml_file
#endif
use mpp_mod, only : mpp_sum,... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/lapack/spotri.f | 2 | 2646 | SUBROUTINE SPOTRI( UPLO, N, A, LDA, INFO )
*
* -- LAPACK routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* March 31, 1993
*
* .. Scalar Arguments ..
CHARACTER UPLO
INTEGER ... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ngmath/src/lib/gridpack/cssgrid/csleft.f | 1 | 1656 | C
C $Id: csleft.f,v 1.5 2008-07-27 03:10:07 haley Exp $
C
C Copyright (C) 2000
C University Corporation for Atmospheric Research
C All Rights Reserved
C
C The use of this Software is governed by a License Agreeme... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ncarg2d/src/libncarg/wmap/wmlgfa.f | 1 | 1579 | C
C $Id: wmlgfa.f,v 1.4 2008-07-27 00:17:37 haley Exp $
C
C Copyright (C) 2000
C University Corporation for Atmospheric Research
C All Rights Reserved
C
C The use of this Software is governed by a License Agreeme... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ni/src/lib/nfpfort/ocean.f | 1 | 3777 | C NCLFORTSTART
subroutine wgt_area_smooth (field,area,field_ret,
& nx,ny,no,fill_value,icyclic)
double precision field(nx,ny,no), area(nx,ny)
double precision field_ret(nx,ny,no), fill_value
integer icyclic
C NCLEND
C
C write(*,*) nx,ny,no,fill_value
C ... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/lapack/claswp.f | 3 | 3309 | SUBROUTINE CLASWP( N, A, LDA, K1, K2, IPIV, INCX )
*
* -- LAPACK auxiliary routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* June 30, 1999
*
* .. Scalar Arguments ..
INTEGER INCX... | gpl-2.0 |
jcarlson23/lammps | lib/linalg/dgemv.f | 4 | 7429 | SUBROUTINE DGEMV(TRANS,M,N,ALPHA,A,LDA,X,INCX,BETA,Y,INCY)
* .. Scalar Arguments ..
DOUBLE PRECISION ALPHA,BETA
INTEGER INCX,INCY,LDA,M,N
CHARACTER TRANS
* ..
* .. Array Arguments ..
DOUBLE PRECISION A(LDA,*),X(*),Y(*)
* ..
*
* Purpose
* =======
*
* DGEMV performs one o... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ni/src/examples/mapplot/mp02f.f | 1 | 8810 | C
C $Id: mp02f.f,v 1.15 2010-03-15 22:49:24 haley Exp $
C
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
C C
C Copyright (C) 1995 C
C University Corporatio... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ncarg2d/src/libncarg_gks/wiss/gwelod.f | 1 | 2403 | C
C $Id: gwelod.f,v 1.4 2008-07-27 00:21:07 haley Exp $
C
C Copyright (C) 2000
C University Corporation for Atmospheric Research
C All Rights Reserved
C
C The use of this Software is governed by a License Agreeme... | gpl-2.0 |
marshallward/mom | src/atmos_param/donner_deep/fms_donner.F90 | 7 | 172498 | module fms_donner_mod
use time_manager_mod, only: time_type, set_time, &
set_date, get_time, &
get_calendar_type, &
operator(-), &
operator(>=), operator (<)
use ... | gpl-2.0 |
LeChuck42/or1k-gcc | gcc/testsuite/gfortran.dg/transpose_optimization_1.f90 | 103 | 3369 | ! { 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 |
likev/ncl | ncl_ncarg_src/ncarg2d/src/libncarg/dashpack/dprset.f | 1 | 1331 | C
C $Id: dprset.f,v 1.5 2008-07-27 00:16:59 haley Exp $
C
C Copyright (C) 2000
C University Corporation for Atmospheric Research
C All Rights Reserved
C
C The use of this Software is governed by a License Agreeme... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/fftpack5_dp/c1fm1f.f | 1 | 1815 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
C
C FFTPACK 5.0
C Copyright (C) 1995-2004, Scientific Computing Division,
C University Corporation for Atmospheric Research
C Licensed under the GNU General Public License (GPL)
C
C Authors: Paul N. Swarztrauber and Richard A. Valent
C
... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ncarg2d/src/libncarg/ezmap/supmap.f | 1 | 3612 | C
C $Id: supmap.f,v 1.26 2008-10-22 20:14:55 kennison Exp $
C
C Copyright (C) 2000
C University Corporation for Atmospheric Research
C All Rights Reserved
C
C The use of this Software is governed by a License Agreement.
C
SUBROUTINE SUPMAP (JPRJ,PLAT,PLON,ROTA,PLM1,PLM2,PLM3,... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/fftpack5_dp/mradf3.f | 1 | 4241 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
C
C FFTPACK 5.0
C Copyright (C) 1995-2004, Scientific Computing Division,
C University Corporation for Atmospheric Research
C Licensed under the GNU General Public License (GPL)
C
C Authors: Paul N. Swarztrauber and Richard A. Valent
C
... | gpl-2.0 |
wilfeli/DMGameBasic | ExternalTools/Eigen/blas/testing/cblat3.f | 198 | 130271 | PROGRAM CBLAT3
*
* Test program for the COMPLEX Level 3 Blas.
*
* The program must be driven by a short data file. The first 14 records
* of the file are read using list-directed input, the last 9 records
* are read using the format ( A6, L2 ). An annotated example of a data
* file can be obtained b... | mit |
mtrbean/scipy | scipy/linalg/src/id_dist/src/idzp_rid.f | 133 | 10131 | c this file contains the following user-callable routines:
c
c
c routine idzp_rid computes the ID, to a specified precision,
c of a matrix specified by a routine for applying its adjoint
c to arbitrary vectors. This routine is randomized.
c
c
ccccccccccccccccccccccccccccccccccccccccccccccccccccc... | bsd-3-clause |
likev/ncl | ncl_ncarg_src/ncarg2d/src/libncarg/ezmap/mdpsav.f | 1 | 3080 | C
C $Id: mdpsav.f,v 1.10 2008-09-18 12:19:11 kennison Exp $
C
C Copyright (C) 2000
C University Corporation for Atmospheric Research
C All Rights Reserved
C
C The use of this Software is governed by a License Agreement.
C
SUBROUTINE MDPSAV (IFNO)
C
INTEGER IFNO
C
C De... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/lapack/cpprfs.f | 2 | 10782 | SUBROUTINE CPPRFS( UPLO, N, NRHS, AP, AFP, B, LDB, X, LDX, FERR,
$ BERR, WORK, RWORK, INFO )
*
* -- LAPACK routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* September 30, 1994
... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ncarg2d/src/libncarg_gks/bwi/gputni.f | 1 | 1545 | C
C $Id: gputni.f,v 1.5 2008-07-27 00:21:06 haley Exp $
C
C Copyright (C) 2000
C University Corporation for Atmospheric Research
C All Rights Reserved
C
C The use of this Software is governed by a License Agreeme... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/blas/ctpmv.f | 11 | 11126 | SUBROUTINE CTPMV ( UPLO, TRANS, DIAG, N, AP, X, INCX )
* .. Scalar Arguments ..
INTEGER INCX, N
CHARACTER*1 DIAG, TRANS, UPLO
* .. Array Arguments ..
COMPLEX AP( * ), X( * )
* ..
*
* Purpose
* =======
*
* CTPMV performs one of the matrix-vector operat... | gpl-2.0 |
marshallward/mom | src/mom5/ocean_param/lateral/ocean_mixdownslope.F90 | 5 | 54969 | module ocean_mixdownslope_mod
#define COMP isc:iec,jsc:jec
!
!<CONTACT EMAIL="GFDL.Climate.Model.Info@noaa.gov"> S.M. Griffies
!</CONTACT>
!
!<OVERVIEW>
! Mixing of tracer between dense shallow parcel and
! deeper parcels downslope.
!</OVERVIEW>
!
!<DESCRIPTION>
! Mixing of tracer properties as dense shallow parce... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ngmath/src/examples/enatgrid/nnplotf.f | 1 | 7176 |
SUBROUTINE DRWCON(NX,NY,XI,YI,ZDAT)
C
C Use the NCAR Graphics CONPACK package to draw a color contour
C plot of the data in ZDAT.
C
C Define the error file, the Fortran unit number, the workstation type,
C and the workstation ID to be used in calls to GKS routines.
C
C PARAMETER (IERRF=6, LUNIT=2, IWTYPE=... | gpl-2.0 |
TApplencourt/quantum_package | src/davidson/davidson_parallel.irp.f | 1 | 16170 | use bitmasks
use f77_zmq
subroutine davidson_slave_inproc(i)
implicit none
integer, intent(in) :: i
call davidson_run_slave(1,i)
end
subroutine davidson_slave_tcp(i)
implicit none
integer, intent(in) :: i
call davidson_run_slave(0,i)
end
subroutine davidson_run_slave(thread,ipr... | gpl-3.0 |
mtrbean/scipy | scipy/optimize/minpack/chkder.f | 127 | 4892 | subroutine chkder(m,n,x,fvec,fjac,ldfjac,xp,fvecp,mode,err)
integer m,n,ldfjac,mode
double precision x(n),fvec(m),fjac(ldfjac,n),xp(n),fvecp(m),
* err(m)
c **********
c
c subroutine chkder
c
c this subroutine checks the gradients of m nonlinear functions
c in n var... | bsd-3-clause |
pravisankar/origin | vendor/github.com/gonum/lapack/internal/testdata/dlasqtest/lsame.f | 204 | 3170 | *> \brief \b LSAME
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
* Definition:
* ===========
*
* LOGICAL FUNCTION LSAME( CA, CB )
*
* .. Scalar Arguments ..
* CHARACTER CA, CB
* ..
*
*
*> \... | apache-2.0 |
likev/ncl | ncl_ncarg_src/ni/src/examples/basic/basic06f.f | 1 | 10556 | CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
C C
C Copyright (C) 1995 C
C University Corporation for Atmospheric Research C
C All Rig... | gpl-2.0 |
DmitryLyakh/GFC | gfc_dictionary.F90 | 1 | 88365 | !Generic Fortran Containers (GFC): Dictionary (ordered map), AVL BST
!AUTHOR: Dmitry I. Lyakh (Liakh): quant4me@gmail.com, liakhdi@ornl.gov
!REVISION: 2017/12/20 (recycling my old dictionary implementation)
!Copyright (C) 2014-2017 Dmitry I. Lyakh (Liakh)
!Copyright (C) 2014-2017 Oak Ridge National Laboratory (UT-Batt... | lgpl-3.0 |
likev/ncl | ncl_ncarg_src/external/blas/zher2k.f | 24 | 13292 | SUBROUTINE ZHER2K( UPLO, TRANS, N, K, ALPHA, A, LDA, B, LDB, BETA,
$ C, LDC )
* .. Scalar Arguments ..
CHARACTER TRANS, UPLO
INTEGER K, LDA, LDB, LDC, N
DOUBLE PRECISION BETA
COMPLEX*16 ALPHA
* ..
* .. Array Arguments ..
... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/external/lapack/dsytrs.f | 3 | 10617 | SUBROUTINE DSYTRS( UPLO, N, NRHS, A, LDA, IPIV, B, LDB, INFO )
*
* -- LAPACK routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* March 31, 1993
*
* .. Scalar Arguments ..
CHARACTER U... | gpl-2.0 |
likev/ncl | ncl_ncarg_src/ni/src/lib/nfpfort/KolmSmir2.f | 1 | 5731 |
C ....................SSP...........................................
C
C SUBROUTINE KOLM2
C
C PURPOSE
C
C TESTS THE DIFFERENCE BETWEEN TWO SAMPLE DISTRIBUTION
C FUNCTIONS USING THE KOLMOGOROV-SMIRNOV TEST
C
C USAGE
C CALL KOLM2(X,Y,N,M,Z,PROB)
C ... | gpl-2.0 |
LeChuck42/or1k-gcc | gcc/testsuite/gfortran.dg/coarray/this_image_1.f90 | 147 | 5796 | ! { dg-do run }
!
! PR fortran/18918
!
! this_image(coarray) run test,
! expecially for num_images > 1
!
! Tested are values up to num_images == 8,
! higher values are OK, but not tested for
!
implicit none
integer :: a(1)[2:2, 3:4, 7:*]
integer :: b(:)[:, :,:]
allocatable :: b
integer :: i
if (this_image(A, dim=1) /=... | gpl-2.0 |
marshallward/mom | src/mom5/ocean_blobs/ocean_blob_dynamic_free.F90 | 8 | 124082 | module ocean_blob_dynamic_free_mod
!
!<CONTACT EMAIL="m.bates@student.unsw.edu.au"> Michael L. Bates
!</CONTACT>
!
!<CONTACT EMAIL="GFDL.Climate.Model.Info@noaa.gov"> Stephen M. Griffies
!</CONTACT>
!
!<OVERVIEW>
! This module runs the dynamic free blob implementation of the embedded
! Lagrangian blob framework. The m... | gpl-2.0 |
LeChuck42/or1k-gcc | libgfortran/generated/_sin_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 |
mverleg/1957 | lib/lapack/dlarzb.f | 24 | 9100 | *> \brief \b DLARZB applies a block reflector or its transpose to a general matrix.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DLARZB + dependencies
*> <a href="http://www.netlib.org/cgi-bin/... | bsd-3-clause |
mverleg/1957 | lib/lapack/dorm2r.f | 56 | 7396 | *> \brief \b DORM2R multiplies a general matrix by the orthogonal matrix from a QR factorization determined by sgeqrf (unblocked algorithm).
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DORM2R +... | bsd-3-clause |
davidgiven/gcc-vc4 | gcc/testsuite/gfortran.dg/used_before_typed_1.f90 | 193 | 1320 | ! { dg-do compile }
! { dg-options "-std=f95" }
! PR fortran/32095
! PR fortran/34228
! Check that standards-conforming mode rejects uses of variables that
! are used before they are typed.
SUBROUTINE test1 (n, arr, m, arr2, k, arr3, a) ! { dg-error "has no IMPLICIT" }
IMPLICIT NONE
INTEGER :: arr(n) ! { dg-erro... | gpl-2.0 |
anntzer/scipy | scipy/interpolate/fitpack/fpcosp.f | 10 | 11930 | recursive subroutine fpcosp(m,x,y,w,n,t,e,maxtr,maxbin,c,sq,sx,
* bind,nm,mb,a,
* b,const,z,zz,u,q,info,up,left,right,jbind,ibind,ier)
implicit none
c ..
c ..scalar arguments..
real*8 sq
integer m,n,maxtr,maxbin,nm,mb,ier
c ..array arguments..
real*8 x(m),y(m),w(m),t(n),e(n),c... | bsd-3-clause |
davidgiven/gcc-vc4 | gcc/testsuite/gfortran.dg/g77/980519-2.f | 209 | 1605 | c { dg-do compile }
* Date: Fri, 17 Apr 1998 14:12:51 +0200
* From: Jean-Paul Jeannot <jeannot@gx-tech.fr>
* Organization: GX Technology France
* To: egcs-bugs@cygnus.com
* Subject: identified bug in g77 on Alpha
*
* Dear Sir,
*
* You will find below the assembly code of a simple Fortran routine which
* crashes with ... | gpl-2.0 |
mverleg/1957 | lib/lapack/dormr3.f | 24 | 7907 | *> \brief \b DORMR3 multiplies a general matrix by the orthogonal matrix from a RZ factorization determined by stzrzf (unblocked algorithm).
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DORMR3 +... | bsd-3-clause |
maxhutch/magma | testing/lin/sgbt01.f | 9 | 5137 | SUBROUTINE SGBT01( M, N, KL, KU, A, LDA, AFAC, LDAFAC, IPIV, WORK,
$ RESID )
*
* -- LAPACK test routine (version 3.1) --
* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
* November 2006
*
* .. Scalar Arguments ..
INTEGER KL, KU, LDA, LDAFAC, M, ... | bsd-3-clause |
mverleg/1957 | lib/lapack/ztrrfs.f | 29 | 14955 | *> \brief \b ZTRRFS
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download ZTRRFS + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/ztrrf... | bsd-3-clause |
maxhutch/magma | testing/lin/cppt05.f | 9 | 7148 | SUBROUTINE CPPT05( UPLO, N, NRHS, AP, B, LDB, X, LDX, XACT,
$ LDXACT, FERR, BERR, RESLTS )
*
* -- LAPACK test routine (version 3.1) --
* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
* November 2006
*
* .. Scalar Arguments ..
CHARACTER UPLO
... | bsd-3-clause |
mverleg/1957 | lib/lapack/sgejsv.f | 5 | 72353 | *> \brief \b SGEJSV
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SGEJSV + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/sgejs... | bsd-3-clause |
davidgiven/gcc-vc4 | gcc/testsuite/gfortran.dg/fmt_cache_2.f | 169 | 1037 | ! { dg-do run }
! PR42742 Handle very large format strings correctly
! Test derived from example developed by Manfred Schwarb.
character(12) bufarr(74)
character(74*13+30) fmtstr,fmtstr2
character(1) delim
integer i,j,dat(5),pindx, loopcounter
character(983) big_string ! any less and this ... | gpl-2.0 |
syftalent/dist-sys-exercises-1 | lec-6/mpi/mpich-3.1.4/test/mpi/f77/attr/typeattr2f.f | 3 | 3224 | C -*- Mode: Fortran; -*-
C
C (C) 2003 by Argonne National Laboratory.
C See COPYRIGHT in top-level directory.
C This is a modified version of typeattrf.f that uses two of the
C default functions
C
program main
implicit none
include 'mpif.h'
integer errs, ierr
include 'attraints.h'... | mit |
Vandemar/calypso | src/Fortran_libraries/UTILS_src/MESH/set_mesh_types.f90 | 3 | 4924 | !set_mesh_types.f90
! module set_mesh_types
!
! programmed by H. Matsui on Dec., 2008
!
!! subroutine set_mesh_data_types(femmesh)
!! subroutine set_mesh_data_type_to_IO(my_rank, femmesh)
!! type(mesh_data), intent(mesh_groups) :: femmesh
!!
!! subroutine set_geometry_types_data(mesh)
!... | gpl-3.0 |
maxhutch/magma | testing/lin/stbt06.f | 9 | 4247 | SUBROUTINE STBT06( RCOND, RCONDC, UPLO, DIAG, N, KD, AB, LDAB,
$ WORK, RAT )
*
* -- LAPACK test routine (version 3.1) --
* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
* November 2006
*
* .. Scalar Arguments ..
CHARACTER DIAG, UPLO
INTEGER... | bsd-3-clause |
mverleg/1957 | lib/lapack/spoequ.f | 29 | 5485 | *> \brief \b SPOEQU
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SPOEQU + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/spoeq... | bsd-3-clause |
syftalent/dist-sys-exercises-1 | lec-6/mpi/mpich-3.1.4/src/binding/fortran/use_mpi_f08/wrappers_f/bsend_init_f08ts.F90 | 1 | 1508 | ! -*- Mode: Fortran; -*-
!
! (C) 2014 by Argonne National Laboratory.
! See COPYRIGHT in top-level directory.
!
subroutine MPI_Bsend_init_f08ts(buf, count, datatype, dest, tag, comm, request, ierror)
use, intrinsic :: iso_c_binding, only : c_int
use :: mpi_f08, only : MPI_Datatype, MPI_Comm, MPI_Request
... | mit |
maxhutch/magma | testing/lin/zlattr.f | 9 | 21420 | SUBROUTINE ZLATTR( IMAT, UPLO, TRANS, DIAG, ISEED, N, A, LDA, B,
$ WORK, RWORK, INFO )
*
* -- LAPACK test routine (version 3.1) --
* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
* November 2006
*
* .. Scalar Arguments ..
CHARACTER DIAG, TRANS, U... | bsd-3-clause |
Vandemar/calypso | src/Fortran_libraries/MHD_src/IO/set_control_4_model.f90 | 3 | 10578 | !>@file set_control_4_model.f90
!!@brief module set_control_4_model
!!
!!@author H. Matsui and H. Okuda
!!@date Programmed by H. Okuda in 2000
!!@n Mmodified by H. Matsui in 2001
!!@n Mmodified by H. Matsui in Aug., 2007
!
!> @brief set models for MHD simulation from control data
!!
!!@verbatim
!! subrouti... | gpl-3.0 |
maxhutch/magma | testing/lin/zsyt03.f | 9 | 4616 | SUBROUTINE ZSYT03( UPLO, N, A, LDA, AINV, LDAINV, WORK, LDWORK,
$ RWORK, RCOND, RESID )
*
* -- LAPACK test routine (version 3.1) --
* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
* November 2006
*
* .. Scalar Arguments ..
CHARACTER UPLO
IN... | bsd-3-clause |
maxhutch/magma | testing/checkdiag/src/dlarfy.f | 13 | 2670 | SUBROUTINE DLARFY( UPLO, N, V, INCV, TAU, C, LDC, WORK )
*
* -- LAPACK auxiliary test routine (version 3.1) --
* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
* November 2006
*
* .. Scalar Arguments ..
CHARACTER UPLO
INTEGER INCV, LDC, N
DOUBLE P... | bsd-3-clause |
mverleg/1957 | lib/lapack/dlaed7.f | 5 | 13290 | *> \brief \b DLAED7 used by sstedc. Computes the updated eigensystem of a diagonal matrix after modification by a rank-one symmetric matrix. Used when the original matrix is dense.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-ht... | bsd-3-clause |
davidgiven/gcc-vc4 | libgfortran/generated/_atan2_r4.F90 | 26 | 1484 | ! Copyright (C) 2002-2013 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 |
Vandemar/calypso | src/Fortran_libraries/SERIAL_src/SPH_SPECTR_src/copy_rj_phys_data_4_IO.f90 | 3 | 10066 | !> @file copy_rj_phys_data_4_IO.f90
!! module copy_rj_phys_data_4_IO
!!
!! @author H. Matsui
!! @date Programmed in Oct., 2007
!
!> @brief Copy between field data and IO data
!!
!!@verbatim
!! subroutine copy_rj_all_phys_name_to_IO(fld_IO)
!! subroutine copy_rj_all_phys_data_to_IO(fld_IO)
!! subro... | gpl-3.0 |
mverleg/1957 | lib/lapack/iladlc.f | 57 | 2999 | *> \brief \b ILADLC scans a matrix for its last non-zero column.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download ILADLC + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?for... | bsd-3-clause |
maxhutch/magma | testing/lin/alahd.f | 8 | 32031 | SUBROUTINE ALAHD( IOUNIT, PATH )
*
* -- LAPACK test routine (version 3.3.0) --
* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
* November 2010
*
* .. Scalar Arguments ..
CHARACTER*3 PATH
INTEGER IOUNIT
* ..
*
* Purpose
* =======
*
* ALAHD prints h... | bsd-3-clause |
mverleg/1957 | lib/lapack/ctgexc.f | 25 | 8930 | *> \brief \b CTGEXC
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CTGEXC + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/ctgex... | bsd-3-clause |
davidgiven/gcc-vc4 | gcc/testsuite/gfortran.dg/shiftalr_2.F90 | 162 | 1511 | ! Test the SHIFTA, SHIFTL and SHIFTR intrinsics.
!
! { dg-do run }
! { dg-options "-ffree-line-length-none" }
! { dg-require-effective-target fortran_integer_16 }
implicit none
#define CHECK(I,SHIFT,RESA,RESL,RESR) \
if (shifta(I,SHIFT) /= RESA) call abort ; \
if (shiftr(I,SHIFT) /= RESR) call abort ; \
if (s... | gpl-2.0 |
Vandemar/calypso | src/Fortran_libraries/SERIAL_src/FFT_wrapper/t_FFTPACK5_wrapper.f90 | 3 | 9075 | !>@file t_FFTPACK5_wrapper.f90
!!@brief module t_FFTPACK5_wrapper
!!
!!@author H. Matsui
!!@date Programmed on Apr., 2013
!
!>@brief Fourier transform using FFTPACK5
!!
!!@verbatim
!! ------------------------------------------------------------------
!!
!! subroutine init_WK_FFTPACK_t(Nsmp, Nstacksmp, Nfft, W... | gpl-3.0 |
mverleg/1957 | lib/lapack/slas2.f | 24 | 5060 | *> \brief \b SLAS2 computes singular values of a 2-by-2 triangular matrix.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SLAS2 + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfile... | bsd-3-clause |
mverleg/1957 | lib/lapack/zgesvxx.f | 28 | 29944 | *> \brief <b> ZGESVXX computes the solution to system of linear equations A * X = B for GE matrices</b>
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download ZGESVXX + dependencies
*> <a href="http://ww... | bsd-3-clause |
davidgiven/gcc-vc4 | gcc/testsuite/gfortran.dg/associated_target_2.f90 | 193 | 1069 | ! { dg-do run }
!
! PR fortran/35721
!
! ASSOCIATED(ptr, trgt) should return true if
! the same storage units (in the same order)
! gfortran was returning false if the strips
! were different but only one (the same!) element
! was present.
!
! Contributed by Dick Hendrickson
!
program try_mg0028
implicit no... | gpl-2.0 |
syftalent/dist-sys-exercises-1 | lec-6/mpi/mpich-3.1.4/src/binding/fortran/use_mpi_f08/wrappers_f/win_set_attr_f08ts.F90 | 1 | 1140 | ! -*- Mode: Fortran; -*-
!
! (C) 2014 by Argonne National Laboratory.
! See COPYRIGHT in top-level directory.
!
subroutine MPI_Win_set_attr_f08(win, win_keyval, attribute_val, ierror)
use, intrinsic :: iso_c_binding, only : c_int
use :: mpi_f08, only : MPI_Win
use :: mpi_f08, only : MPI_ADDRESS_KIND
... | mit |
syftalent/dist-sys-exercises-1 | lec-6/mpi/mpich-3.1.4/src/binding/fortran/use_mpi_f08/wrappers_f/comm_connect_f08ts.F90 | 1 | 1446 | ! -*- Mode: Fortran; -*-
!
! (C) 2014 by Argonne National Laboratory.
! See COPYRIGHT in top-level directory.
!
subroutine MPI_Comm_connect_f08(port_name, info, root, comm, newcomm, ierror)
use, intrinsic :: iso_c_binding, only : c_int, c_char
use :: mpi_f08, only : MPI_Info, MPI_Comm
use :: mpi_c_int... | mit |
mverleg/1957 | lib/lapack/dsygvd.f | 5 | 12188 | *> \brief \b DSYGVD
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DSYGVD + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dsygv... | bsd-3-clause |
mverleg/1957 | lib/lapack/dpotri.f | 29 | 4180 | *> \brief \b DPOTRI
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DPOTRI + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dpotr... | bsd-3-clause |
mverleg/1957 | lib/lapack/slantp.f | 24 | 10849 | *> \brief \b SLANTP returns the value of the 1-norm, or the Frobenius norm, or the infinity norm, or the element of largest absolute value of a triangular matrix supplied in packed form.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/expl... | bsd-3-clause |
mverleg/1957 | lib/lapack/ssytrf_rook.f | 5 | 12082 | *> \brief \b SSYTRF_ROOK
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SSYTRF_ROOK + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_rou... | bsd-3-clause |
jimhester/r-source | src/library/stats/src/stl.f | 46 | 15661 | c
c from netlib/a/stl: no authorship nor copyright claim in the source;
c presumably by the authors of
c
c R.B. Cleveland, W.S.Cleveland, J.E. McRae, and I. Terpenning,
c STL: A Seasonal-Trend Decomposition Procedure Based on Loess,
c Statistics Research Report, AT&T Bell Laboratories.
c
c Conve... | gpl-2.0 |
mverleg/1957 | lib/lapack/cpoequb.f | 29 | 5819 | *> \brief \b CPOEQUB
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download CPOEQUB + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/cpo... | bsd-3-clause |
mverleg/1957 | lib/lapack/sggglm.f | 5 | 10292 | *> \brief \b SGGGLM
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download SGGGLM + dependencies
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/sgggl... | bsd-3-clause |
Vandemar/calypso | src/Fortran_libraries/MHD_src/field_data/m_cal_max_indices.f90 | 3 | 5476 | !>@file m_cal_max_indices.f90
!!@brief module m_cal_max_indices
!!
!!@author H. Matsui
!!@date Programmed by H.Matsui and H.Okuda in July 2000
!!@n Modified by H. Matsui on Aug., 2007
!
!>@brief Find node positions of maximum values
!!
!!@verbatim
!! subroutine allocate_phys_range(ncomp_viz)
!! subrou... | gpl-3.0 |
maxhutch/magma | testing/lin/zdrvrf1.f | 9 | 6736 | SUBROUTINE ZDRVRF1( NOUT, NN, NVAL, THRESH, A, LDA, ARF, WORK )
*
IMPLICIT NONE
*
* -- LAPACK test routine (version 3.2.0) --
* Univ. of Tennessee, Univ. of California Berkeley and NAG Ltd..
* November 2008
*
* .. Scalar Arguments ..
INTEGER LDA, NN, NOUT
DOUBLE PRECISION... | bsd-3-clause |
doslab/gcc-designated-initializer-support-cpp | libgomp/testsuite/libgomp.fortran/lib1.f90 | 90 | 2237 | ! { dg-do run }
use omp_lib
double precision :: d, e
logical :: l
integer (kind = omp_lock_kind) :: lck
integer (kind = omp_nest_lock_kind) :: nlck
d = omp_get_wtime ()
call omp_init_lock (lck)
call omp_set_lock (lck)
if (omp_test_lock (lck)) call abort
call omp_unset_lock (lck)
if (.not. omp_... | gpl-2.0 |
doslab/gcc-designated-initializer-support-cpp | gcc/testsuite/gfortran.fortran-torture/execute/der_type.f90 | 191 | 1101 | ! Program to test derived types
program der_type
implicit none
type t1
integer, dimension (4, 5) :: a
integer :: s
end type
type my_type
character(20) :: c
type (t1), dimension (4, 3) :: ca
type (t1) :: r
end type
type init_type
integer :: i = 13
integer ... | gpl-2.0 |
qsnake/abinit | src/42_geometry/symaxes.F90 | 1 | 12753 | !{\src2tex{textfont=tt}}
!!****f* ABINIT/symaxes
!! NAME
!! symaxes
!!
!! FUNCTION
!! Determines the type of symmetry operation, for
!! the proper symmetries 2,2_1,3,3_1,3_2,4,4_1,4_2,4_3,6,6_1,...6_5
!!
!! COPYRIGHT
!! Copyright (C) 2000-2012 ABINIT group (RC, XG)
!! This file is distributed under the terms of the
!! ... | gpl-3.0 |
haudren/scipy | scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dstats.f | 170 | 1166 | c
c\SCCS Information: @(#)
c FILE: stats.F SID: 2.1 DATE OF SID: 4/19/96 RELEASE: 2
c %---------------------------------------------%
c | Initialize statistic and timing information |
c | for symmetric Arnoldi code. |
c %---------------------------------------------%
subro... | bsd-3-clause |
qsnake/abinit | src/65_psp/smoothvlocal.F90 | 1 | 16461 | !{\src2tex{textfont=tt}}
!!****f* ABINIT/smoothvlocal
!! NAME
!! smoothvlocal
!!
!! FUNCTION
!! Constructs the local pseudopotential used by SIESTA. Different from
!! the individual v_l components, it must be as smooth as possible in
!! order to be well represented on a 3D real space grid in SIESTA.
!!
!! COPYRIGHT
... | gpl-3.0 |
SamKChang/abinit-7.10.5_multipole | src/01_macroavnew_ext/numeric.F90 | 2 | 7338 | #if defined HAVE_CONFIG_H
#include "config.h"
#endif
SUBROUTINE FOUR1(DATA,NN,ISIGN)
!**********************************************************************
! Discrete Fourier transform.
!**********************************************************************
! Input:
! real*8 DATA(2*NN) : Function to be Fouri... | gpl-3.0 |
qsnake/abinit | src/42_nlstrain/contistr03.F90 | 1 | 177558 | !{\src2tex{textfont=tt}}
!!****f* ABINIT/contistr03
!! NAME
!! contistr03
!!
!! FUNCTION
!! Carries out specialized metric tensor operations needed for contraction
!! of the 2nd strain derivative of the l=0,1,2,3 nonlocal Kleinman-Bylander
!! pseudopotential operation. Derivatives are wrt a pair of cartesian
!! strain... | gpl-3.0 |
qsnake/abinit | src/68_dmft/m_hu.F90 | 1 | 8749 | !{\src2tex{textfont=tt}}
!!****m* ABINIT/m_hu
!! NAME
!! m_hu
!!
!! FUNCTION
!!
!! COPYRIGHT
!! Copyright (C) 2006-2012 ABINIT group (BAmadon)
!! This file is distributed under the terms of the
!! GNU General Public License, see ~abinit/COPYING
!! or http://www.gnu.org/copyleft/gpl.txt .
!!
!! INPUTS
!!
!! OUTPUT
!!
!... | gpl-3.0 |
jeremiahyan/lammps | lib/linalg/dlalsd.f | 19 | 16947 | *> \brief \b DLALSD uses the singular value decomposition of A to solve the least squares problem.
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* http://www.netlib.org/lapack/explore-html/
*
*> \htmlonly
*> Download DLALSD + dependencies
*> <a href="http://www.netlib.... | gpl-2.0 |
jamestwebber/scipy | scipy/special/cdflib/cumf.f | 151 | 2394 | SUBROUTINE cumf(f,dfn,dfd,cum,ccum)
C**********************************************************************
C
C SUBROUTINE CUMF(F,DFN,DFD,CUM,CCUM)
C CUMulative F distribution
C
C
C Function
C
C
C Computes the integral from 0 to F of the f-density wit... | bsd-3-clause |
sungsujo/nacl-llvm-branches.llvm-gcc-trunk | gcc/testsuite/gfortran.dg/hollerith_legacy.f90 | 14 | 1310 | ! { dg-do compile }
! { dg-options "-std=legacy" }
! PR15966, PR18781 & PR16531
implicit none
complex(kind=8) x(2)
complex a(2,2)
character*4 z
character z1(4)
character*4 z2(2,2)
character*80 line
integer i
logical l
real r
character*8 c
data x /16Habcdefghijklmnop, 16Hqrstuvwxyz012345/
data a /8H(i3),abc, 0, 4H(i4)... | gpl-2.0 |
jamestwebber/scipy | scipy/integrate/odepack/xerrwv.f | 155 | 5250 | subroutine xerrwv (msg, nmes, nerr, level, ni, i1, i2, nr, r1, r2)
integer msg, nmes, nerr, level, ni, i1, i2, nr,
1 i, lun, lunit, mesflg, ncpw, nch, nwds
double precision r1, r2
dimension msg(nmes)
c-----------------------------------------------------------------------
c subroutines xe... | bsd-3-clause |
doslab/gcc-designated-initializer-support-cpp | libgfortran/generated/_cosh_r16.F90 | 22 | 1483 | ! 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 |
qsnake/abinit | src/72_response/kpgstr.F90 | 1 | 4270 | !{\src2tex{textfont=tt}}
!!****f* ABINIT/kpgstr
!! NAME
!! kpgstr
!!
!! FUNCTION
!! Compute elements of the derivative
!! the kinetic energy operator in reciprocal
!! space at given k point wrt a single cartesian strain
!! component
!!
!! COPYRIGHT
!! Copyright (C) 1999-2012 ABINIT group (DRH, XG)
!! This file is distr... | gpl-3.0 |
qsnake/abinit | src/63_bader/plint.F90 | 1 | 2782 | !{\src2tex{textfont=tt}}
!!****f* ABINIT/plint
!! NAME
!! plint
!!
!! FUNCTION
!! This simple routine gives the profile of the density
!! integrated in xy plane belong the z-axes (it works only
!! for orthogonal coordinates at present - it is better to use cut3d)
!! integration in plane - with equilateral triangles (no... | gpl-3.0 |
jamestwebber/scipy | scipy/integrate/quadpack/dqaws.f | 143 | 8961 | subroutine dqaws(f,a,b,alfa,beta,integr,epsabs,epsrel,result,
* abserr,neval,ier,limit,lenw,last,iwork,work)
c***begin prologue dqaws
c***date written 800101 (yymmdd)
c***revision date 830518 (yymmdd)
c***category no. h2a2a1
c***keywords automatic integrator, special-purpose,
c algebr... | bsd-3-clause |
doslab/gcc-designated-initializer-support-cpp | gcc/testsuite/gfortran.dg/ichar_1.f90 | 22 | 2074 | ! { dg-do compile }
! PR20879
! Check that we reject expressions longer than one character for the
! ICHAR and IACHAR intrinsics.
! Assumed length variables are special because the frontend doesn't have
! an expression for their length
subroutine test (c)
character(len=*) :: c
integer i
i = ichar(c)
i = ichar(... | gpl-2.0 |
qsnake/abinit | src/12_hide_mpi/interfaces_12_hide_mpi.F90 | 1 | 43390 | !!****m* ABINIT/interfaces_12_hide_mpi
!! NAME
!! interfaces_12_hide_mpi
!!
!! FUNCTION
!! This module contains the interfaces of the routines
!! in the directory src/12_hide_mpi
!!
!! COPYRIGHT
!! Copyright (C) 2010-2011 ABINIT group
!! This file is distributed under the terms of the
!! GNU General Public License, see... | gpl-3.0 |
jjones-cavium/gcc | gcc/testsuite/gfortran.dg/widechar_select_1.f90 | 174 | 1479 | ! { dg-do run }
! { dg-options "-fbackslash" }
call testme(test("foo"), test4(4_"foo"), 1)
call testme(test(""), test4(4_""), 1)
call testme(test("gee"), test4(4_"gee"), 4)
call testme(test("bar"), test4(4_"bar"), 1)
call testme(test("magi"), test4(4_"magi"), 4)
call testme(test("magic"), test4(4_"magic"),... | gpl-2.0 |
haudren/scipy | scipy/optimize/minpack/r1updt.f | 125 | 5702 | subroutine r1updt(m,n,s,ls,u,v,w,sing)
integer m,n,ls
logical sing
double precision s(ls),u(m),v(n),w(m)
c **********
c
c subroutine r1updt
c
c given an m by n lower trapezoidal matrix s, an m-vector u,
c and an n-vector v, the problem is to determine an
c orthogonal matrix q... | bsd-3-clause |
slitvinov/maxima | share/lapack/lapack/fortran/dgebd2.f | 15 | 7994 | SUBROUTINE DGEBD2( M, N, A, LDA, D, E, TAUQ, TAUP, WORK, INFO )
*
* -- LAPACK routine (version 3.0) --
* Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
* Courant Institute, Argonne National Lab, and Rice University
* February 29, 1992
*
* .. Scalar Arguments ..
INTEGER ... | gpl-2.0 |
sungsujo/nacl-llvm-branches.llvm-gcc-trunk | gcc/testsuite/gfortran.dg/char_length_5.f90 | 52 | 2036 | ! { dg-do run }
! Tests the fix for PR31867, in which the interface evaluation
! of the character length of 'join' (ie. the length available in
! the caller) was wrong.
!
! Contributed by <beliavsky@aol.com>
!
module util_mod
implicit none
contains
function join (words, sep) result(str)
character (len=*), inte... | gpl-2.0 |
jjones-cavium/gcc | gcc/testsuite/gfortran.dg/char_length_5.f90 | 52 | 2036 | ! { dg-do run }
! Tests the fix for PR31867, in which the interface evaluation
! of the character length of 'join' (ie. the length available in
! the caller) was wrong.
!
! Contributed by <beliavsky@aol.com>
!
module util_mod
implicit none
contains
function join (words, sep) result(str)
character (len=*), inte... | gpl-2.0 |
SCECcode/BBP | bbp/src/ucsb/GreenBank/source.f | 1 | 1498 | c***************************************************************
c F-K: @(#) source.f 1.0 4/29/2000
c
c Copyright (c) 2000 by L. Zhu
c See README file for copying and redistribution conditions.
c
c Setup the displacement-stress vector jump across the source
c The coefficients can be all derived from the potential ... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.