Page 1 of 1

gaussiantoqmc

Posted: Wed Jun 03, 2015 8:11 am
by Subhodip_Chatterjee
Hi all,
I'm facing a problem while trying to compile gaussiantoqmc.f90. The errror is:
---------------------------------------------------------------------------------------------------------
$ f95 gaussiantoqmc.f90
/tmp/cc0eFN7X.o: In function `MAIN__':
gaussiantoqmc.f90:(.text+0xf): undefined reference to `user_control_'
gaussiantoqmc.f90:(.text+0x23): undefined reference to `wfn_test_'
gaussiantoqmc.f90:(.text+0x2d): undefined reference to `qmc_write_'
collect2: error: ld returned 1 exit status
---------------------------------------------------------------------------------------------------------
Casino version : v2.13.494 [Mike Towler] (20 April 2015)
Gaussian version : Gaussian 09

What to do now??

Re: gaussiantoqmc

Posted: Wed Jun 03, 2015 8:20 am
by Mike Towler
Read the manual, sadly..

You don't compile stuff in the CASINO distribution by directly invoking the compiler. The gaussiantoqmc utility depends on multiple files being compiled then linked together into a single executable. This is done according to the instructions encoded in the makefiles.

So sit in the base directory and type 'make' basically (or use the compile option of the install script. That will compile all the utilities plus CASINO itself..

Mike

Re: gaussiantoqmc

Posted: Wed Jun 03, 2015 9:52 am
by Subhodip_Chatterjee
Thanks Mike.
Actually I have made a mistake. It's told in the manual to "run gaussiantoqmc" and not "run gaussiantoqmc.f90"!!
Anyway, thanks again Mike.