command line error for structure/strauto

160 views
Skip to first unread message

Ida Naughton

unread,
Feb 21, 2024, 4:50:20 PM2/21/24
to structure-software
hey everyone, 

I am trying to run the backend version of structure on a remote server. I have tried running structure with the ./structure command, and also have tried running it using strAuto. In both cases, I get the following error:

./runstructure: ./structure: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

currently, the back-end structure app and all of the downloaded files from strAuto are in the same directory, and I am running python 2.7.5 (have also tried in python 3.7.3 and received the same error).

thanks!

Vikram Chhatre

unread,
Feb 21, 2024, 5:00:43 PM2/21/24
to structure...@googlegroups.com
This type of error occurs when you are trying to run 32bit code on a 64bit system. I did not think there was a STRUCTURE binary with "32bit support" still floating around.

Is STRUCTURE natively installed on your HPC or are you trying to run a binary you downloaded from Stanford?

Also, try this:

readelf -a structure | grep ELF
If it spits out
ELF Header:
    Class:                           ELF32

then you are using a 32 bit binary. Get the 64bit version from https://web.stanford.edu/group/pritchardlab/structure_software/release_versions/v2.3.4/html/structure.html 


--
You received this message because you are subscribed to the Google Groups "structure-software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structure-softw...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/structure-software/3c2caed1-eb5e-4a43-b508-14ac02230184n%40googlegroups.com.

Ida Naughton

unread,
Feb 22, 2024, 1:56:24 PM2/22/24
to structure-software
Hi Vikram, 
Thanks for your help and prompt reply!
I am trying to run a binary that I downloaded from Stanford via the link you provided above. I downloaded the Unix version under the "Download without package without front end" section. When I  run readelf -a structure | grep ELF,  I get the following:

ELF Header:

  Class:                             ELF32

I wonder why I'm receiving a 32 bit download from the same source that should be supplying a 64-bit? I reinstalled structure using the link you sent and it is still 32 bit



Vikram Chhatre

unread,
Feb 22, 2024, 1:58:16 PM2/22/24
to structure...@googlegroups.com
Perhaps I don't remember and that binary was always 32bit. In any case, your best bet is to get your HPC sysadmins to compile the 64 bit version using the source code available at Stanford and have it be installed as a module.

V

Reply all
Reply to author
Forward
0 new messages