Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-user] Re: [ptp-dev] Re: slurm rm proxy compilation problems

Hi Jie,

If it's too complicated to merge with the current version, I'd suggest providing a new resource manager called SLURM 2 (or something appropriate).

You may also want to take a look at the work Roland, Dieter, and Al are doing on the PBS resource manager. This RM uses a XML generated by PBS rather than calling an API directly. This might be a good way to go to avoid these version issues.

Cheers,

Greg
On Feb 6, 2010, at 12:30 AM, JiangJie wrote:

Hi Ola,
 
Sorry for the lack of detailed description.
 
Greg is right that this problem is due to SLURM version mismatch.
The current slurm proxy in ptp_3.0.1 is based on SLURM-1.3.x (typically 1.3.15),
because at the develpment time, slurm-2.1 is not officially released (and still NOT by now).
 
And now the work on upgrading to SLURM 2.1 will come to end soon.
Most functions work well and I'm debugging some problems related to debug job launching.
Hope I can finish it by the end of February .
 
However, the SLURM-2.1 API is much different from thoses in SLURM-1.x.
So the implementation for SLURM 2.1 will be quite different from the current one in ptp-3.0.1.
Also the job status and node status are different from SLURM-1.3.x.
And it is quite difficult to merge it with current one because of new API, new design.
Personally, I'd like to resubmit a whole new implementation.
However, the new implementation may not be compatible with older verison of SLURM.
Greg, what's your opinion?
 
 
Regards,
Jie
 

From: g.watson@xxxxxxxxxxxx
Date: Fri, 5 Feb 2010 17:41:29 -0500
To: ptp-dev@xxxxxxxxxxx
Subject: [ptp-dev] Re: slurm rm proxy compilation problems

Hi Ola,

It looks like there may be a problem with the version of SLURM you're using. I'll have to let the developers of the SLURM resource manager answer this one. 

Jie, any ideas?

Thanks,
Greg

On Feb 3, 2010, at 5:57 PM, Ola Spjuth wrote:

Hi,

I tried setting up the slurm remote proxy server "org.eclipse.ptp.rm.slurm.proxy_3.0.1.201002011019" but it failed during "make" with the following error:

[olas@kalkyl1 org.eclipse.ptp.rm.slurm.proxy_3.0.1.201002011019]$ make
make  all-am
make[1]: Entering directory `/bubo/home/h12/olas/eclipse/org.eclipse.ptp.rm.slurm.proxy_3.0.1.201002011019'
if gcc -DHAVE_CONFIG_H -I. -I. -I.   -I/etc/slurm/include  -g -O2 -Wall -I../org.eclipse.ptp.utils_3.0.1.201002011019/include -I../org.eclipse.ptp.proxy_3.0.1.201002011019/include -I/etc/slurm/include -MT ptp_slurm_proxy-ptp_slurm_proxy.o -MD -MP -MF ".deps/ptp_slurm_proxy-ptp_slurm_proxy.Tpo" -c -o ptp_slurm_proxy-ptp_slurm_proxy.o `test -f 'src/ptp_slurm_proxy.c' || echo './'`src/ptp_slurm_proxy.c; \
then mv -f ".deps/ptp_slurm_proxy-ptp_slurm_proxy.Tpo" ".deps/ptp_slurm_proxy-ptp_slurm_proxy.Po"; else rm -f ".deps/ptp_slurm_proxy-ptp_slurm_proxy.Tpo"; exit 1; fi
In file included from src/ptp_slurm_proxy.c:62:
src/srun_opt.h:117: error: ‘SYSTEM_DIMENSIONS’ undeclared here (not in a function)
src/ptp_slurm_proxy.c: In function ‘init_logfp’:
src/ptp_slurm_proxy.c:346: warning: unused variable ‘pw’
src/ptp_slurm_proxy.c: In function ‘write_routing_file’:
src/ptp_slurm_proxy.c:497: warning: cast to pointer from integer of different size
src/ptp_slurm_proxy.c:498: warning: cast to pointer from integer of different size
src/ptp_slurm_proxy.c: In function ‘create_job_desc_msg_from_opts’:
src/ptp_slurm_proxy.c:1854: error: ‘job_desc_msg_t’ has no member named ‘max_sockets’
src/ptp_slurm_proxy.c:1856: error: ‘job_desc_msg_t’ has no member named ‘max_cores’
src/ptp_slurm_proxy.c:1858: error: ‘job_desc_msg_t’ has no member named ‘max_threads’
src/ptp_slurm_proxy.c:1860: error: ‘job_desc_msg_t’ has no member named ‘job_min_procs’
src/ptp_slurm_proxy.c:1862: error: ‘job_desc_msg_t’ has no member named ‘job_min_sockets’
src/ptp_slurm_proxy.c:1864: error: ‘job_desc_msg_t’ has no member named ‘job_min_cores’
src/ptp_slurm_proxy.c:1866: error: ‘job_desc_msg_t’ has no member named ‘job_min_threads’
make[1]: *** [ptp_slurm_proxy-ptp_slurm_proxy.o] Error 1
make[1]: Leaving directory `/bubo/home/h12/olas/eclipse/org.eclipse.ptp.rm.slurm.proxy_3.0.1.201002011019'
make: *** [all] Error 2

Is this error due to the fact that the remote system I am trying to access is running slurm 2.1.0, or have I done something incorrectly? If due to version, what are the plans to upgrade the slurm rm proxy to support version 2.1?

Cheers,

/Ola


--
Ola Spjuth, PhD
Department of Pharmaceutical Biosciences
Box 541, Uppsala University
Sweden



_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user




使用新一代 Windows Live Messenger 轻松交流和共享! 立刻下载! _______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev


Back to the top