[RegCNET] unwanted characters in regcm3 run
Антон Резников
reznikov_anton at mail.ru
Fri May 21 13:16:02 CEST 2010
> Hi RegCM3 users,
>
>
>
>
> While running/ trying RegCM3 on Aix 5.3 in almost every step some unwanted characters are appended with some file names and all. Because of this, say some folder is created with output, it will write some other name so that writing files inside the directory becomes impossible
>
>
>
>
> 0 vertical mode problem completed for kx= 18 0 errors detected (should be 0)
> m, fac = 4 33.3333333333333357
> m, fac = 2 60.0000000000000000
> Writing output files in direct access format
>
> ******* OPENING NEW OUTPUT FILES: 2005010100
> "mkfile.f", line 568: 1525-014 The I/O operation on unit 50 cannot be completed because an errno value of 2 (No such file or directory) was received while opening the file. The program will stop.
> bash-3.2$
>
> a screen shot of the terminal is attached. Please give a clue, I have been trying for some days.
>
> Thanks?
>
>
> Mr. Rajesh J.
> Consultatnt,
> {'PRITHVI' High Performance Computing System,
> Indian Institute of Tropical Meteorology,Pune}
> HCL Infosystems Ltd.
> Arena 10, Pune Nagar Road, Viman Nagar, Pune
>
>
>
> ATTACHMENT: image/png Screenshot-1.png_______________________________________________
> RegCNET mailing list
> RegCNET at lists.ictp.it
> https://lists.ictp.it/mailman/listinfo/regcnet
Hi.
I think you have some bug in realisation of function 'system' or use incorrect compiler options. Output directory called 'output' and nothing else. Try to create 'output' directory manualy. Hope this help. Also you can try write wrapper for C-function system.
Example of system wrapper (work with gfortran)
#include <string.h>
#include <stdlib.h>
int system_(char * arg, int n) {
char * string;
string = (char *) malloc (sizeof(char) * (n + 1));
memcpy(string, arg, n);
string[n] = '\0';
return system (string);
}
Good luck!
More information about the RegCNET
mailing list