Skip to content

csh/bash error #82

@StephanWatkins

Description

@StephanWatkins

High,

Wondered if this was a bug with Gamess, or something on my OS. I can't find a problem on my OS with the bash or csh shells.

I have a bizarre error, after switching and installing on a new pc. I had gamess running on a 6 core pc, and 6 core laptop, but recently switched to a new 24 core pc. I tried installing 3 different binaries in different locations with mkl, openblas and the simple sockets and internal lappack. The error I am very familiar with, it's a simple bash/csh error that says your script has a character or variable not allowed:

"Illegal variable name."

However I have tried using a bash, csh, tcsh and zsh shell, and get the same error. If I run the ./runall check from the software I get"

1 : exam49
2 : 02
3 : 1
Illegal variable name.
"
The same if I use rungms to check one of the examxx inp files. I have tried a dozen variations of launching the rungms as well, direct path, launching in the gamess dir, as a bash or csh .sh, .csh file with parameters (file 02 2 1 00, or 1 1, 2 1 , 1 1 0 etc...)

If I run one of the gamess binaries ./gamess.02.x as an example I get the standard error:
"
./gamess.02.x

Error: Expecting an even number of MPI processes (cp:ds::1:1).
DDI Process 0: error code 911

MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 911.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.

"

or ./gamess.02.x 2 1

"
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
....
#9 0x591f0f6c0fb0 in beging_
at /home/strog/gamess/gamess/object/util.f:923
#10 0x591f0f6bdb6c in gamess
at /home/strog/gamess/gamess/object/gamess.F:593
#11 0x591f0f6b00fe in main
at /home/strog/gamess/gamess/object/gamess.F:505
Segmentation fault (core dumped)

"

or for the sockets version just missing input and....error

Indicating the binaries are working fine, at least as far as accepting inputs..

I for 2 days have been pulling out my hair trying to figure out where the error comes from, and checked my bash or csh shells, which can run scripts fine, so I assume something with the gamess, either in compile or the rungms itself. It has all permissions set to owner and execute. I installed the latest src, and tried the r2 july 15th. I am on Linux Mint 21.3, intel i9-14900KF 24 core, 5070 Ti, although I did not try compiling the CUDA version yet, but have not had any problems with anything else. Anyone have an idea? I mean it seems like it is not taking the arguments into the rungms from command lines, the rungms run alone with no input just gives the "illegal variable name" error, and I have checked a dozen times the settings inside matched against what I had on the other PCs, and only changed the first 4 lines, to the appropriate directories, and the 2 areas for openmpi and openmpi library location as per instillation instructions. Compiling with sockets gives the same error, as mentioned, mint is the 6.8.0-58, latest kernel. Of note, on my laptop install from 1 1/2 years back i have to csh before rungms, on the PCs this is not necessary. I also tried xterm, term terminals as variants.

Stephan Watkins

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions