Search Results

Search: Posts Made By: leroygr
Forum: Programming 08-03-2011
17,422
Posted By leroygr
Ok... I better understand now! My purpose of...
Ok... I better understand now!

My purpose of trying to analyse this data is for research. Unfortunately I don't have lot of programming experience, that's why I'm maybe asking silly questions...
...
Forum: Programming 08-03-2011
17,422
Posted By leroygr
here is the output: ==> rd_wr_formatted.exe...
here is the output:

==> rd_wr_formatted.exe <==
ELFP�4�!4(44�4�

 
!
$�
(�
0�4�8�<�@�D�H�
�D$`��������$������$�������������Dž �����Dž$���...
Forum: Programming 08-03-2011
17,422
Posted By leroygr
Yes this is the description of the data that I...
Yes this is the description of the data that I want to convert using the fortran program.
Forum: Programming 08-03-2011
17,422
Posted By leroygr
My SRTM data sample has the following...
My SRTM data sample has the following description:

ncols 6001
nrows 6001
xllcorner -10.000416206603
yllcorner 34.999583430181
cellsize 0.00083333333333333...
Forum: Programming 08-02-2011
17,422
Posted By leroygr
Ok I add a '_' to the write_geogrid in the c...
Ok I add a '_' to the write_geogrid in the c code. Now the compilation seems ok because there is no errors. But when I'm executing I have this error:

[greg@Uranus:~/WRF/WPS/data/SRTM_conversion]$...
Forum: Programming 08-01-2011
17,422
Posted By leroygr
Results: ...
Results:

[greg@Uranus:~/WRF/WPS/data/SRTM_conversion]$ nm write_geogrid.o
U __stack_chk_fail
U __strncpy_chk
U fclose
U fopen
U free
U...
Forum: Programming 08-01-2011
17,422
Posted By leroygr
Ok the iargc error disappeared. But I still have...
Ok the iargc error disappeared. But I still have the following errors:

[greg@Uranus:~/WRF/WPS/data/SRTM_conversion]$ make
gfortran -c -ffree-form -O -fconvert=big-endian -frecord-marker=4...
Forum: Programming 08-01-2011
17,422
Posted By leroygr
For iargc correction, I've juste added (). Here...
For iargc correction, I've juste added (). Here is my full program code:

program rd_wr_binary

implicit none

integer, external :: iargc

integer :: istatus
character (len=256)...
Forum: Programming 08-01-2011
17,422
Posted By leroygr
Ok I did the changes and it's better... but not...
Ok I did the changes and it's better... but not yet perferct.

Now I have the following errors:

[greg@Uranus:~/WRF/WPS/data/SRTM_conversion]$ make
gfortran -c -ffree-form -O...
Forum: Programming 07-29-2011
17,422
Posted By leroygr
Thank you, but I don't really understand. I'm not...
Thank you, but I don't really understand. I'm not the original creator of the program. Can you explain me what do I need to change in my code in order to compile? I replace iargc by...
Forum: Programming 07-28-2011
17,422
Posted By leroygr
Compilation problem with gfortran
Hello everyone,

I'm trying since a few days to compile a f90 program with gfortran (on Ubuntu) with a makefile. The fortran program calls 2 routines written in C.

Here is my makefile:

FC ...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 05:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy