Ok guys,
The problem is solved !!!
I figured it out as I was writing the previous post.
The problem was that the main program had the same name as the COMMON statement FFT.
I guess that's why it couldn't access the array.Changing the name of the program made the program to run with no errors...
Hello again,
I run Fortran 90 through Microsoft Developer Studio 97 and my OS is Windows XP Professional.
Now for the question of gullipe
1) COMMON/FFT/ fc(50000)
2) dimension f(nref)
3) call SFP (BUF,LBUF,nx,ny,nz,scr,IC,ihh,ikk,ill,fc)
4) SUBROUTINE SFP...
Hello gullipe,
I need to run it separatelly because the subroutine I need calls other subroutines from the same file. Is a bit complicated program and I don't want to mess it up. The array is defined in the subroutine call and the access violation error comes when I try to read or write from...
Hey,
Thanks for your answer.
I tried your code and it gives me the same ''access violation'' error as my program.It seems is a compiler error after all. Is there any way I can fix it ?
Hi,
I have a strange problem.
I am trying to write some values in an array that is
located in a subroutine in a different file from the file tha t contains the main program.When the program tries to access the array I am getting an access violation error.If I move the subroutine in the same...
Is there any way to sort real numbers from a lowest to a higher value ?
I am trying to do it with a do loop but it doesn't perform well when assigning real values to start,stop and increasing arguments of do loop.
I am using F90
Hi
I need to set a character string a(i:i) as an array
element.I though it would be something like b(j) = a(i:i)
where b(j) is the array element but it doesn't seems to
work.Can you please help me?
Hello,
I was trying to configure a copy of gcc-3.4.3 in a SGI
workstation running Irix6.5 and got the following error message
*** The command '/usr/ucb/cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
My question is: How can I compile...
Hi
I have a problem with a Kworld TV tuner.
After I install the drivers Windows XP recognize the PCI card and everything seems to be ok but...
when I am trying to run the TVR software that comes with the tuner I get the following message :
"honestechTV.exe has encountered a problem and needs to...
Thanks for your answer but the main problem is when I am trying to run fortran in UNIX. You see UNIX doesn't seems to recognize double precision numbers and the 2 values I want to assign have 5 digits each.
So I can't have a number with 10 digits !
That's why I ask if I can assign two values...
I want to know if it is possible to assign 2 values in one array element.
For example I want the element a(1,1) to store the values
123 and 456.
I would appreciate if anyone could help me!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.