Installation problems
Posted: Tue Feb 04, 2014 12:54 am
I downloaded Casino and installed it on two computers, both with Xubuntu 13.10. In both cases, the following warning was encountered during the compilation.
This seems to be connected to a wavefunction converter, not to Casino itself, so I assumed that it may be not important. And indeed, on laptop it seems to work. But on the PC there is a problem, it seems that it starts many copies of the same program, all writing to the same output file. I get the out file in which everything is written several times. The "Job started: " line gives slightly different times for each "copy" so I suspect there are really some instances of Casino running at the same time. I thought that it may be connected to some error in parallelization but I recompiled Casino with the sequential arch file and the problem still exists.
Code: Select all
/home/varelse/programs/CASINO/utils/wfn_converters/gp/jeep_io.c: In function ‘readwf1_’:
/home/varelse/programs/CASINO/utils/wfn_converters/gp/jeep_io.c:42:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( &ns, sizeof(int), 1, wfinfile );
^
/home/varelse/programs/CASINO/utils/wfn_converters/gp/jeep_io.c:43:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( &ng, sizeof(int), 1, wfinfile );
^
/home/varelse/programs/CASINO/utils/wfn_converters/gp/jeep_io.c: In function ‘readwf2_’:
/home/varelse/programs/CASINO/utils/wfn_converters/gp/jeep_io.c:82:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( &ns, sizeof(int), 1, wfinfile );
^
/home/varelse/programs/CASINO/utils/wfn_converters/gp/jeep_io.c:83:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( &ng, sizeof(int), 1, wfinfile );
^
/home/varelse/programs/CASINO/utils/wfn_converters/gp/jeep_io.c:113:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread( cg, sizeof(double), 2*ng, wfinfile );