Giter Club home page Giter Club logo

Comments (5)

gingergeeks avatar gingergeeks commented on May 15, 2024 1

Mike,
Thank you for that trace. I'm now free for a month (Yay !) so I will have more free time. At first glance it looks like gcc is having an issue. What version of gcc are you using and what version of bin-utils are you using (as --version) ? The reason I ask is because I saw similar issues with an older version of binutils and after upgrading my errors went away.

Mark

from pyslurm.

gingergeeks avatar gingergeeks commented on May 15, 2024

Hi Mike,
I'm away from my test box at the moment but I can take a look tomorrow evening. I'm assuming this was with the 14.11.5 version of PySlurm you were using ?

You could try using - python setup.py build --slurm=/usr

Regards

Mark

from pyslurm.

MikeDacre avatar MikeDacre commented on May 15, 2024

No problem. And it is the just a clone of the current git repo (as of two hours ago) that I am using. Using --slurm=/usr gives exactly the same error. I am not sure if it is unable to find the slurm.h file, or if there is something else missing.

from pyslurm.

MikeDacre avatar MikeDacre commented on May 15, 2024

I just tried with the 14.11.5 branch and got a different error:

python setup.py build --slurm-lib=/usr/lib64 --slurm-inc=/usr/include
INFO:root:Info: 
INFO:root:Info: Building PySlurm (14.11.5)
INFO:root:Info: ------------------------------
INFO:root:Info: 
INFO:root:Info: Cython version 0.23.4 installed

INFO:root:Info: Clean - checking for objects to clean
INFO:root:Info: Clean - removing pyslurm build temp directory ...
INFO:root:Info: Clean - removing pyslurm/pyslurm.c temp file
INFO:root:Info: Clean - removing pyslurm/bluegene.pxi temp file
INFO:root:Info: Clean - completed
INFO:root:Info: Build - Detected Slurm include file version - 0x0e0b08 (14.11.08)
INFO:root:Info: Build - Writing Slurm version to pyslurm/slurm_version.pxi
INFO:root:Info: Build - Generating pyslurm/bluegene.pxi file
running build
running build_py
creating build
creating build/lib.linux-x86_64-2.7
creating build/lib.linux-x86_64-2.7/pyslurm
copying pyslurm/__init__.py -> build/lib.linux-x86_64-2.7/pyslurm
running build_ext
cythoning pyslurm/pyslurm.pyx to pyslurm/pyslurm.c
building 'pyslurm.pyslurm' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/pyslurm
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -I/usr/include -I/usr/include/slurm -fPIC -I/usr/include -I. -I/opt/rh/python27/root/usr/include/python2.7 -c pyslurm/pyslurm.c -o build/temp.linux-x86_64-2.7/pyslurm/pyslurm.o
{standard input}: Assembler messages:
{standard input}:1351: Error: expecting string instruction after `rep'
{standard input}:1356: Error: expecting string instruction after `rep'
error: command 'gcc' failed with exit status 1

from pyslurm.

MikeDacre avatar MikeDacre commented on May 15, 2024

Yes, you were right. I changed the gcc build system on the server to a different version and it compiles fine now. I am having another issue now, but I will open a separate issue for that.

Thanks for your help.

from pyslurm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.