lingtikong / fix-phonon

Automatically exported from code.google.com/p/fix-phonon
6 stars 4 forks source link

Compiling problem #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

Dear Dr. Kong,

I was trying to install fix_phonon in Cray XT5 platform. I ve got these error 
messages. Could you please help me that how can i solve this problems?

Best Regards
Sefa

"fix_phonon.cpp", line 144: error: class "LAMMPS_NS::Memory" has no member
          "create"
    RIloc = memory->create(RIloc,nGFatoms,(sysdim+1),"fix_phonon:RIloc");
                    ^

"fix_phonon.cpp", line 145: error: class "LAMMPS_NS::Memory" has no member
          "create"
    RIall = memory->create(RIall,nGFatoms,(sysdim+1),"fix_phonon:RIall");
                    ^

"fix_phonon.cpp", line 146: error: class "LAMMPS_NS::Memory" has no member
          "create"
    Rsort = memory->create(Rsort,nGFatoms, sysdim, "fix_phonon:Rsort");
                    ^

"fix_phonon.cpp", line 148: error: class "LAMMPS_NS::Memory" has no member
          "create"
    Rnow  = memory->create(Rnow, MAX(1,mynpt),fft_dim,"fix_phonon:Rnow");
                    ^

"fix_phonon.cpp", line 149: error: class "LAMMPS_NS::Memory" has no member
          "create"
    Rsum  = memory->create(Rsum, MAX(1,mynpt),fft_dim,"fix_phonon:Rsum");
                    ^

"fix_phonon.cpp", line 151: error: class "LAMMPS_NS::Memory" has no member
          "create"
    basis = memory->create(basis,nucell, sysdim, "fix_phonon:basis");
                    ^

"fix_phonon.cpp", line 154: error: class "LAMMPS_NS::Memory" has no member
          "create"
    Rqnow = memory->create(Rqnow,MAX(1,mynq),fft_dim, "fix_phonon:Rqnow");
                    ^

Original issue reported on code.google.com by sefada...@gmail.com on 16 Aug 2011 at 9:41

GoogleCodeExporter commented 9 years ago
Please check your lammps version;  this version of fix-phonon needs to be 
compile along with lammps newer than May 2011 version.

Original comment by kon...@gmail.com on 23 Aug 2011 at 6:13