|
glibc detected *** ./run.out: munmap_chunk(): invalid pointer: Dear friends, few days back , i asked your help on a "gfortran problem" subroutine coefficient(istart,lorbit,nrec,nsite,nmax,nn,cmat,dmat) implicit none integer:: i,j,k,q,orb,rcs,site,itr,sorbit,strstat,torbit integer::nn,lorbit,nrec,istart,cnt,nsite,nmax real(8)... 7 Apr 2008 11:59
Does Function use more memory than Subroutine? Function use double memories than Subroutine. ... 7 Apr 2008 08:18
Some Basic Questions Hello, I have just started to learn Fortran (mainly from the "Fortran 95/2003 Explained" book by Metcalf et al) and there are a couple of things that seem really odd to me. It'd be great if someone could clarify the following issues for me: In case it matters: I am using the gfortran compiler and I am willing ... 3 Apr 2008 18:35
mixed language programming - error Hi! I want to call a Fortran Routine from a C++ - program, so I compiled the fortran part with the fortran compiler (Compaq Visual Fortran) and appended it to my c++ project (using Microsoft Visual Studio 6.0). in the c++ program I declared the Fortran routine as following: extern "C" { void _stdcall electro1... 3 Apr 2008 20:17
ifort + openmp + fftw problem Hi, folks, After two days of trying, I almost give up. What I want to do is very simple. I wanna using openmp to do fft in parallel. But I kept get segfaults. I have a do loop. In each do loop, I do ONE fft. The idea is to use openmp to do FFTs in each processor at the same time. Here is the fortran file.... 3 Apr 2008 19:10
UPdate all Dependencies(CVF) Hi I use Compaq visual fortran 6.6c. Very often, I need to look for the definition of a subroutine/function through this IDE. It's quite convenient. However, sometimes I found it showed "the symbol of some subroutine/ fun. is not defined." It's quite annoying? Does anybody know how to fix this problem? I hav... 7 Apr 2008 22:02
Generic Programming - What Is the Best Method? (Was: Intelligent macros .vs. BITS) "Arjen Markus" <arjen.markus(a)wldelft.nl> wrote in message news:d9078f0f-d62f-4d3b-8cea-caf6168f563d(a)e23g2000prf.googlegroups.com... On 1 apr, 06:20, "Gerry Ford" <ge...(a)nowhere.ford> wrote: When I first read this a couple weeks ago, I wondered what this looks like in fortran: template <c... 3 Apr 2008 18:01
Bug in Salford's FTN95 compiler version 5.20.1? The following program yields the value of 1.00000 under debug win32 mode of FTN95 compiler version 5.20.1. The correct value should be 2.00000 I do get the correct value when the 'OPTIONS(CHECK)' is commented out. Can someone check it out? yair PRINT *,F2() END FUNCTION F1(X) F1=X... 6 Apr 2008 04:55
unresolved external symbol Hello everyone, I get the mistake unresolved external symbol -LNK2001 when building a solution, but I checked over and over, but I wrote the correct name when calling my routine, in code it looks like this: i got my module: module a contains subroutine init_global() ! ! Initializes global constants. !... 3 Apr 2008 13:27
progress bar in fortran dear friends, as we install a rpm file or install via yum, we saw a progress bar like ftnchek-emacs-3.3. 100% |=========================| is there any way to generate something like that using fortran? where the progress percentage will update in the same line? ... 3 Apr 2008 07:25 |