compiling latest lammps

Hi All

I tried compiling latest lammps (both tarball version and svn version). but i got following errors:

mpicxx -O -DFFT_FFTW -I/opt/apps/pgi7_2/mvapich1_1_0_1/fftw2/2.1.5/include -c run.cpp
“run.cpp”, line 48: error: identifier “atoll” is undefined
bigint nsteps_input = ATOBIGINT(arg[0]);
^

1 error detected in the compilation of “run.cpp”.
make[1]: [run.o] Error 2 (ignored)
mpicxx -O -DFFT_FFTW -I/opt/apps/pgi7_2/mvapich1_1_0_1/fftw2/2.1.5/include -c update.cpp

“update.cpp”, line 282: error: identifier “atoll” is undefined
ntimestep = ATOBIGINT(arg[0]);
^
If i remove corresponding statements, that lead to further errors, mainly from run.cpp…

Any clues where these errors are coming from?

Thanks
Chetan

Hi All
I tried compiling latest lammps (both tarball version and svn version). but
i got following errors:
mpicxx -O -DFFT_FFTW -I/opt/apps/pgi7_2/mvapich1_1_0_1/fftw2/2.1.5/include
-c run.cpp
"run.cpp", line 48: error: identifier "atoll" is undefined
bigint nsteps_input = ATOBIGINT(arg[0]);
^
1 error detected in the compilation of "run.cpp".
make[1]: [run.o] Error 2 (ignored)
mpicxx -O -DFFT_FFTW -I/opt/apps/pgi7_2/mvapich1_1_0_1/fftw2/2.1.5/include
-c update.cpp
"update.cpp", line 282: error: identifier "atoll" is undefined
ntimestep = ATOBIGINT(arg[0]);
^
If i remove corresponding statements, that lead to further errors, mainly
from run.cpp..
Any clues where these errors are coming from?

yes, you are compiling with a totally outdated and crappy compiler.

this is on TACC ranger, right?

swap your compiler environment from PGI to gcc and
the problem will go away and lammps will run faster, too.

cheers,
    axel.

@ Axel: Sorry for the delay in replying. Do not know how this mail was hidden for so long. Thanks for the help. Yes, it is TACC, ranger.

@ Steve, for some reason, I am able to post on the mailing list, but I do not get any email of the mail list (i only get emails which are replied to my email directly). Could you look into matter?

@ Axel: Sorry for the delay in replying. Do not know how this mail was
hidden for so long. Thanks for the help. Yes, it is TACC, ranger.

just do a:

module swap pgi gcc

and you have propelled yourself from stone age
into modern times, compilerwise, that is.

@ Steve, for some reason, I am able to post on the mailing list, but I do
not get any email of the mail list (i only get emails which are replied to
my email directly). Could you look into matter?

those kind of problems are usually not on the list processor side, but on
the receiving side. you should inquire, if your local mail service does
greylisting or some other strange things that interferes with mailing lists.

cheers,
    axel.

Maybe a silly question, but did you subscribe to the mailing list and confirm the subsequent email (it sends you a link that you have to click before you start receiving messages)?

@ Steve, for some reason, I am able to post on the mailing list, but I
do not get any email of the mail list (i only get emails which are
replied to my email directly). Could you look into matter?

This is a SourceForge issue, since they run the mail list. It's your account
on SourceForge, so you should be able to check the settings for your mail
subscription. See the links to the SF pages for the LAMMPS mail list
pages.

Steve