[torquedev] change in torque distribution (automake)

Standa Kunc standa.kunc at gmail.com
Thu Apr 12 15:42:00 MDT 2007


Firstly I will try to explain you my motive:

I can run unmodified pbs_mom under virtual machine. But this virtual
machine has to run all the time and such solution has limited
flexibility.

I want to be able to start or stop virtual machines transparently. I
want to have multiple virtual machines, none of them have to run. Or
all of them can run when there are free resources on physical
computer.

I want to have one pbs_mom running on each physical compute node all
the time (I call it physmom). This physmom acts little bit like local
server for pbs_moms running in virtual computers (I call them
virtmoms).

Idea is that pbs_server communicates with physmoms. Physmom should
report state of all their virtmoms. When scheduler decides that some
job should run on some virtmom, pbs_server cooperates with physmom to
send job (or wake up virtual computer and then send job).

First step is creation of some kind of API, functions like start_vm(),
stop_vm() . Then I can implement these generic functions for concrete
virtualization system. This is reason of my need of src/resmom/openvz
directory. Because there could be other directories like
src/resmom/xen etc.


Now the problem I challenge:

I am working with Torque 2.1.6 original revision number 1147. And I
should be able to regenerage makefiles and configure but there are
some errors and it fails.

I have ubuntu distribution, all tools are installed:
autoconf (GNU Autoconf) 2.60
automake (GNU automake) 1.4-p6
ltmain.sh (GNU libtool) 1.5.22 Debian 1.5.22-4 (1.1220.2.365
2005/12/18 22:14:06)

Is there some special way to build torque distribution? Do I have to
change some parameters in configuration?

See output of commands below.

Thank you for your reply
S. Kunc


folder with sources:
---
root at xubuntu:~/diplomka/vtorque/pokus/trunk# ls
acinclude.m4  CHANGELOG     contrib      INSTALL      Makefile.in
 README.mpiexec  src           torque.spec.in
aclocal.m4    configure     DEVELOPMENT  INSTALL.GNU  PBS_License.txt
 README.torque   torque.setup
buildutils    configure.ac  doc          Makefile.am  README.configure
 Release_Notes   torque.spec

aclocal:
---
root at xubuntu:~/diplomka/vtorque/pokus/trunk# aclocal

autoconf:
---
root at xubuntu:~/diplomka/vtorque/pokus/trunk# autoconf
configure.ac:248: warning: AC_PROG_LEX invoked multiple times
autoconf/programs.m4:755: AC_DECL_YYTEXT is expanded from...
aclocal.m4:7670: AM_PROG_LEX is expanded from...
configure.ac:248: the top level

automake
---
root at xubuntu:~/diplomka/vtorque/pokus/trunk# automake -a
automake: configure.ac: installing `[buildutils]/install-sh'; error
while making link: No such file or directory

automake: configure.ac: installing `[buildutils]/mkinstalldirs'; error
while making link: No such file or directory

automake: configure.ac: installing `[buildutils]/missing'; error while
making link: No such file or directory

configure.ac: 1360: required file `[buildutils]/ltmain.sh' not found
configure.ac: 1360: installing `[buildutils]/config.guess'; error
while making link: No such file or directory

configure.ac: 1360: installing `[buildutils]/config.sub'; error while
making link: No such file or directory

automake: configure.ac: installing `[buildutils]/config.guess'; error
while making link: No such file or directory

automake: configure.ac: installing `[buildutils]/config.sub'; error
while making link: No such file or directory

configure.ac: 51: required file `./[src/include/pbs_config.h].in' not found
configure.ac: 51: required file `./[src/include/stamp-h.in' not found
src/gui/Makefile.am:33: invalid variable `dist_xpbshelp_DATA'
src/gui/Makefile.am:17: invalid variable `dist_xpbs_DATA'
src/gui/Makefile.am:26: invalid variable `dist_xpbsbitmap_DATA'
src/gui/Makefile.am:12: invalid variable `nodist_xpbs_DATA'
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/dis.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/discui_.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/discul_.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disi10d_.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disi10l_.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disiui_.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disp10d_.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disp10l_.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrcs.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrd.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrf.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrfcs.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrfst.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrl_.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrl.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrsc.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrsi_.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrsi.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrsl_.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrsl.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrss.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrst.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disruc.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrui.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrul.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/disrus.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/diswcs.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/diswf.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/diswl_.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/diswsi.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/diswsl.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/diswui_.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/diswui.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libdis/diswul.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/advise.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_attrl.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_attropl.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_Authen.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_CpyFil.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_JobCred.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_JobFile.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_JobId.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_JobObit.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_Manage.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_MoveJob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_MsgJob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_QueueJob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_Reg.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_ReqExt.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_ReqHdr.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_Resc.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_rpyc.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_rpys.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_RunJob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_Shut.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_Sig.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_Status.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_svrattrl.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/dec_Track.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_attrl.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_attropl.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_CpyFil.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_JobCred.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_JobFile.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_JobId.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_JobObit.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_Manage.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_MoveJob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_MsgJob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_QueueJob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_Reg.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_reply.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_ReqExt.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_ReqHdr.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_RunJob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_Shut.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_Sig.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_Status.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_svrattrl.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/enc_Track.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/get_svrport.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/nonblock.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/PBS_attr.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_alterjo.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_asyrun.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/PBS_data.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_connect.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_deljob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_holdjob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_locjob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/PBSD_manage2.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_manager.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_movejob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/PBSD_manager_caps.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/PBSD_msg2.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_msgjob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_orderjo.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/PBSD_rdrpy.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_rerunjo.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_resc.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_rlsjob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_runjob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_selectj.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/PBSD_sig2.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_sigjob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_stagein.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_statjob.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_statnode.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_statque.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_statsrv.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/PBSD_status2.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/PBSD_status.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_submit.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/PBSD_submit_caps.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbsD_termin.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbs_geterrmg.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/pbs_statfree.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/rpp.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/tcp_dis.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/tm.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libifl/list_link.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libcmds/ck_job_name.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libcmds/cnt2server.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libcmds/cvtdate.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libcmds/get_server.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libcmds/locate_job.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libcmds/parse_at.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libcmds/parse_depend.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libcmds/parse_destid.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libcmds/parse_equal.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libcmds/parse_jobid.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libcmds/parse_stage.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libcmds/prepare_path.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libcmds/prt_job_err.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libcmds/set_attr.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libcmds/set_resource.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Liblog/chk_file_sec.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Liblog/log_event.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Liblog/pbs_log.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Liblog/pbs_messages.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Liblog/setup_env.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libnet/get_hostaddr.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libnet/get_hostname.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libnet/md5.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libnet/net_client.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libnet/net_server.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libnet/net_set_clse.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libnet/rm.c' is in subdirectory
automake: src/lib/Libpbs/Makefile.am: not supported: source file
`../Libnet/port_forwarding.c' is in subdirectory
src/resmom/Makefile.am:3: BUILDCPA does not appear in AM_CONDITIONAL
automake: src/resmom/Makefile.am: not supported: source file
`../server/attr_recov.c' is in subdirectory
automake: src/resmom/Makefile.am: not supported: source file
`../server/dis_read.c' is in subdirectory
automake: src/resmom/Makefile.am: not supported: source file
`../server/job_attr_def.c' is in subdirectory
automake: src/resmom/Makefile.am: not supported: source file
`../server/job_func.c' is in subdirectory
automake: src/resmom/Makefile.am: not supported: source file
`../server/job_recov.c' is in subdirectory
automake: src/resmom/Makefile.am: not supported: source file
`../server/process_request.c' is in subdirectory
automake: src/resmom/Makefile.am: not supported: source file
`../server/reply_send.c' is in subdirectory
automake: src/resmom/Makefile.am: not supported: source file
`../server/req_quejob.c' is in subdirectory
automake: src/resmom/Makefile.am: not supported: source file
`../server/resc_def_all.c' is in subdirectory
automake: src/scheduler.tcl/Makefile.am: not supported: source file
`../scheduler.cc/get_4byte.c' is in subdirectory
automake: src/tools/Makefile.am: not supported: source file
`../scheduler.tcl/pbs_tclWrap.c' is in subdirectory
automake: src/tools/Makefile.am: not supported: source file
`../scheduler.tcl/site_tclWrap.c' is in subdirectory
automake: src/tools/Makefile.am: not supported: source file
`../scheduler.tcl/pbs_tclWrap.c' is in subdirectory
automake: src/tools/Makefile.am: not supported: source file
`../scheduler.tcl/site_tclWrap.c' is in subdirectory
src/tools/xpbsmon/Makefile.am:10: invalid variable `nodist_xpbsmon_DATA'
src/tools/xpbsmon/Makefile.am:24: invalid variable `dist_xpbsmonhelp_DATA'
src/tools/xpbsmon/Makefile.am:15: invalid variable `dist_xpbsmon_DATA'
src/tools/xpbsmon/Makefile.am:20: invalid variable `dist_xpbsmonbitmap_DATA'


./configure --with-scp
---
All is OK until error message appears:
checking for correct TEA configuration... configure: error:
The PACKAGE variable must be defined by your TEA configure.in

On 11/04/07, Garrick Staples <garrick at clusterresources.com> wrote:
> On Wed, Apr 11, 2007 at 10:25:15PM +0200, Standa Kunc alleged:
> > Hello,
> >
> > I have question related to automake, autoconf configuration of torque.
> >
> > First quick introduction:
> > I am trying to add support of virtual computers to torque. I mean
> > pbs_mom does not have to be physical computer. On physical computer
> > can be multiple OpenVz or Xen virtual machines. The goal is that we
> > can have preconfigured virtual servers and they do not have to run.
> > Pbs_server can wake them up if it is needed because of some job.
> >
> > To be honest, it will be not full of great features and I am not Linus
> > Torvald, so do not expect miracles. Currently pbs_server is aware that
> > client is virtual computer and there are modifications of protocols.
> > Just basic configuration things.
> >
> > Now I want to work with OpenVz and I want to add folder and files
> > specific to OpenVz under src/resmom/ directory.
> >
> >
> > So I ask, is there someone, who can advice me how I should change
> > automake and autoconf files?
> >
> > I can send patches and better description of my project.
> >
> > And by the way, is there anyone who works on similar thing? Or is
> > there already anything done?
>
> For a "normal" new arch, it should be pretty simple.
>   1) Create the new directory in src/resmom/
>   2) Add the new directory to DIST_SUBDIRS in src/resmom/Makefile.am
>   3) Add the new Makefile to configure.ac's AC_OUTPUT
>   4) Modify buildutils/pbs_mach_type to recognize the new arch
>   5) Write new pbs_resources manpage in doc/man7/
>   6) Add new manpage to doc/Makefile.am
>
> The tricky thing here is the buildsystem builds pbs_mom for the arch
> that you are building on, which is wrong if you are building for some
> pseudo-arch.
>
> But it is unclear to me if you actually want a new arch.  You said that
> you want pbs_mom to launch preconfigured VMs for new jobs, which implies
> that pbs_mom is running on the genuine host OS.  That sounds like you
> want to modify the existing pbs_mom to spawn jobs under VMs.
>
> On the other hand, if you wanted to virtualize pbs_mom to run in a guest
> OS, then just use the existing pbs_mom for the guest OS without
> modification.
>
> _______________________________________________
> torquedev mailing list
> torquedev at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torquedev
>


More information about the torquedev mailing list