[lammps-users] problems in make poems

Hi,

I have a problem when I was make poems. after type "make" in .../lib/poems/
the errors are:

poemstree.h: In member function "int Tree::Find(int&)":
poemstree.h: 185:error: invalid conversion from "void*" to "int"
poemstree.h: In member function "void Tree::DeleteTree(treeNode*)":
poemstree.h:warning:deleting "void*" is undefined.

what is the problem and what can I do?

Hi,

I have a problem when I was make poems. after type "make" in .../lib/poems/
the errors are:

poemstree.h: In member function "int Tree::Find(int&)":
poemstree.h: 185:error: invalid conversion from "void*" to "int"
poemstree.h: In member function "void Tree::DeleteTree(treeNode*)":
poemstree.h:warning:deleting "void*" is undefined.

what is the problem and what can I do?

with compilation problems, please always provide detailed information
about hardware, compiler, MPI usw. otherwise people have to guess.

it looks like you are compiling on a 64-bit platform, where "int"
is a 32-bit entity and you are using gcc/g++ v4. which will
(rightfully) complain about this. i don't know anything about
the poems code, but i would suggest to contact the specific
authors and ask about a 64-bit-safe version. provided my guess
about your compile environment is correct, that is.

cheers,
   axel.

I haven't seen this compile problem before.
The POEMS author is at JPL now, you can email him at

Rudranarayan.M.Mukherjee at jpl.nasa.gov

Steve