IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksWebInterfacetoRforHigh-PerformanceComputingJunjiNAKANOEi-jiNAKAMATheInstituteofStatisticalMathematics,JapanCOM-ONELtd.
,JapanTheRUserConference2009July8-10,Agrocampus-Ouest,Rennes,FranceIntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarks1Introduction2Rdwebsystem3Examplesofexecution4InstallingRdweb5ConcludingremarksIntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksRandrequirementforhugecalculationR:afreesoftwareenvironmentforstatisticalcomputingandgraphicsforstatisticianstoimplementnewstatisticalmethodspractitionerstoanalyzerealdatasetsinvariouseldsRecently,bothusersrequirehugeamountofcalculationfortheirownpurposesParallelcomputingisapracticalmethodforrealizinghugecalculationbyexecutingcalculationsonseveralcomputersand/ormanyCPUcoresatthesametimeIntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksParallelcomputingtechniquesonRParallelBLAS(BasicLinearAlgebraSubprograms)usingthreadsATLASFreeparallelandoptimizedBLASGotoBLASFastestparallelandoptimizedBLASIntelMKL,AMDACMLParallelandoptimizedBLASprovidedbyvendersMPItypelibrariesforRusingclusteredcomputersRpvmanRinterfacetoPVM(ParallelVirtualMachine)RmpianRinterfacetoMPI(MessagePassingInterface)snow(SimpleNetworkofWorkstations)ApackageforrealizingparallelcomputingbyparallelapplyfunctionsUsinglowerlevelparallellibrariessuchasSocket,MPI,PVM,nwsfortransferringdataamongprocessesAsitconcealsdierenceoflowerlevellibraries,itiseasytouseforparallelcomputing.
multicoreRunningparallelcomputationsinRonmachineswithmultiplecoresorCPUs.
.
.
.
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksExistingWebenvironmentsforRRwebAWebbasedinterfacetoRforsubmittingthecodeRpadAworkbook-styleuserinterfacetoRthroughaWebbrowserrapacheEmbeddingRintheApacheWebserverRserveTCP/IPserverthatallowsotherprogramstousefacilitiesofRRWebServicesExposingRfunctionsasWebservicesthroughJava/Axis/Apache.
.
.
Parallelcomputingisnotthemainconcernoftheseprograms.
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksSupercomputersinISMWehavethreesupercomputersystemsintheInstituteofStatisticalMathematics(ISM),Japan.
(Wewillreplacethemnextyear.
)Presentsupercomputersprovideparallelcomputingfacilities.
WeuseRonoursupercomputers.
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksOurproblemsTroublesEachsupercomputerusesdierent(Unix-like)environment.
Unix-likeenvironmentsarenoteasytousefornovices.
Severalparametersforparallelcomputingneedtobespecieddierentlyforeachsupercomputer.
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksOursolutionApproach:WebinterfaceWehavemade"Rdweb",aWebinterfacetoRforusingparallelcomputingfunctionsinRIntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksStructureofRdwebRdweb(RdaemonforWeb)systemconsistsofthreecomponents:Webinterface(viaWebbrowseronuser'scomputer)ItisrathersimpleandprogrammedbyHTMLandJavaScript.
JavaScriptisusedtoassistusers'inputslightly.
Webserver(onRdwebgatewaycomputer)ItisaCGIprogramforauthentication,letransfer,jobcontrol(start,stopandcheck),creationofJCL(JobControlLanguage)scriptandscatteringtheprogramtoremotecomputersasaclientofRdaemonRdaemon(onthefront-endcomputerofclustersystem)Itchecksauthentication,transfersrequiredles,startsandendsjobs,andshowsthestatus.
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksCharacteristicsofRdwebRdwebisdesignedforsupercomputersandpersonalPCclustersystems.
AbovestatedthreecomponentsofRdwebandRslavescanresideondierentorsamecomputers.
Text-basedWebbrowserscanbeused(withalittlelimitation).
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksRdwebonsupercomputersinISMShared-MemoryDistributed-MemoryIntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksDierencesbetweenRwebandRdwebFromtheuserside,RdwebissimilartoRweb.
Rdwebcancontrolsystemresourcessuchasuser,CPU,memoryandqueue.
AlthoughRwebdoesnotallowtheuseof"system"commandfromthesecurityreason,RdwebdoesnothavesuchlimitationbecauseRdwebhasrigidauthenticationmechanism.
RwebandRdwebRwebRdwebAuthenticationnonePAM,NISorUnixpasswardFileuploadoneleAlotoflesControlofparallelBLASimpossibleEachsessionControlofsnowimpossibleEachsessionIntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksAuthenticationofRdweb(1)-WebserverRdwebadoptstwoauthenticationstages.
FirststageutilizesWebserverauthenticationmechanismwhentheuserisconnectedtotheWebserveronthegatewaycomputer.
ThemechanismisrealizedbymodauthpamofApache.
sites-enabledOptions.
.
.
.
AllowOverrideNoneOrderallow,denyAllowfromallAuthPAM_EnabledonAuthTypeBasicAuthName"RdwebUserLogin"Requirevalid-userIntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksAuthenticationofRdweb(2)-RdaemonAssecondstageofRdwebauthentication,RdaemonutilizesauthenticationmethodssuchasPAM(recommended),NISandUnixpassword.
WecanselectoneofthemwhenwecompileRdwebsystem.
CookiemustbeenabledintheWebbrowserforWebinterfaceofRdweb.
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksPAMauthenticationPAM(PluggableAuthenticationModules)istheAPIforauthenticationusedinLinux,Solaris,MacOSXandAIX(5.
3orlater).
PAMusesNISorLDAPorUnixpassword.
IfPAMisnotavailable,NISorUnixpasswordcanbedirectlyusedforauthenticationinRdaemon.
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksLocationofles"Rdweb"directoryiscreatedinthehomedirectoryonthefront-end.
Directoryforexecutionis/Rdweb/Uploadedlesarealsostoredin/Rdweb/Logsandscriptsarestoredin/Rdweb/YYYYMMDDhhmmss/whereYYYYMMDDhhmmssshowsyear,month,day,hour,minuteandsecond,accordingtotheISO-8601dateformat.
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksUploadinglesTouploaddataand/orprogramles,weclick"Choose"button,selectale,andclick"upload"button.
Theseoperationscanberepeatedwithoutaectingeditedscriptandotherfunctions.
SCPorSFTPclientssuchasFilezillaclientarerecommendedforuploadinglargelesbecauseHTTPuploadsometimescausestimeoutandstops.
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksPreparingdataandprogramByusingatexteditor,wepreparethefollowingdatale.
HW.
csvheight,weight1.
70,651.
85,801.
75,86Savethisleas"HW.
csv".
WealsoprepareRprogramBMI.
RBMI<-function(H,W){W/H^2}andsaveitas"BMI.
R".
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksInputUploadtwoles"HW.
csv"and"BMI.
R".
TheninputthefollowingRprograminputtextareaHW<-read.
csv("HW.
csv")source("BMI.
R")HWB<-cbind(HW,BMI=BMI(HW$height,HW$weight))HWBplot(HWB)intheeditorareaofWebinterfacewhichisconnectedtoRdwebgateway.
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksExecutionJobisstartedbyclicking"Execute"button.
Jobstatusisshownin"JOBInformation".
Jobinformationisrefreshedbyclicking"Refresh"buttonortoptitle.
Resultsofcalculationarestoredasleswithextensions.
Rout(textformat)and.
pdf(pdfGraphics).
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksUseofsnowUsuallyinR,wehavetospecifythenumberofprocessesdierentlyaccordingtotheclustertype.
makeClusternormal#SOCKclustercl<-makeCluster(c("hostname1","hostname2"))#MPIclusterwith2slaveprocessescl<-makeCluster(2)Weaddnewfunction"setDefaultClusterOptions"touseparametersgivenintheWebinterfaceinthesamewayforallclustertypes.
makeClusterRdwebcl<-makeCluster(getClusterOption("spec"))IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksSelectionofparametersforparallelcomputingWeneedtoselectqueue,numberofslaveprocesses,numberofthreadsofparallelBLAS,andclustertypebyusingpull-downmenusinthisorder.
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksExecutionJobisstartedbyclicking"Execute"button.
Creationofnewresultlesisshownbyclicking"Refresh"button.
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksBatchsystemRdwebrequiresabatchsystem.
Severalbatchsystemsareavailable.
at,batchStandardbatchsystemofUnixspeciedinXPG4(X/OpenportabilityguideVer.
4).
Ithassimplequeuemechanism.
OpenPBS(NASAetc.
)Queuingandschedulingcontrolsystemforclustersystems.
Developmentstoppedin1998.
Torque(ClusterResourceInc.
)FreesystembasedonOpenPBSLoadLeveler(IBM)BatchsystembyavenderLSF(PlatformComputingInc.
)CommercialjobcontrollingtoolSLURMFreeresourcecontrolutilityIntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksPlatformsRdwebshouldworkonalmostallUnix-likeOSs.
WehavecheckedthefollowingsystemsinISMandCOM-ONE.
MPIOSBATCHSYSTEMHP-MPILinuxLSF+slurmLAM-MPILinuxTorqueOpenMPILinuxTorqueLAM-MPILinuxOpenPBSLAM-MPILinuxatLAM-MPISolarisatLAM-MPIAIXLoadLevelerLAM-MPIMacOSXatNote:Installationofthesebatchsystemsissometimescomplicated.
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksInstallationWekeepsourcecodesofRdwebathttp://prs.
ism.
ac.
jp/~nakama/rdweb/RequiredinstallationprocedurePreparetheskeletonoftheshellletoafront-endDenethesysteminformationonWebserverTheydependheavilyontheclustersystem.
Detailsofthesettinginformationcanbeseenin"README"leinRdwebarchive.
WeputrequiredpackagesforDebianGNU/Linux(Lenny)athttp://prs.
ism.
ac.
jp/~nakama/debian/lenny-ism/.
TheyincludehelperpackagesforGotoBLAS,Torque,andpackagesoflam-mpiandopenmpiforTorque.
(Unfortunately,thesearestillbuggy.
).
IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksExamplesinISM(1)IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksExamplesinISM(2)IntroductionRdwebsystemExamplesofexecutionInstallingRdwebConcludingremarksConcludingremarksAdvantagesofRdwebNovicescanuseparallelexecutionfunctionsofwithlesseorts.
NumberofparallelexecutioncanbespeciedeasilyforparallelBLASandsnow.
SecureauthenticationisavailablebyPAMwhichcanuseLDAPorNIS.
DisadvantagesofpresentRdwebSysteminstallationiscomplicatedandcompletelyplatformdependentFutureworkEncryptingcommunicationbetweenWebserverandRdaemonPortingtovariousRRwithmanyBLASsRcompiledbyseveralcompilersRonmanyOSs
Bluehost怎么样,Bluehost好不好,Bluehost成立十八周年全场虚拟主机优惠促销活动开始,购买12个月赠送主流域名和SSL证书,Bluehost是老牌虚拟主机商家了,有需要虚拟主机的朋友赶紧入手吧,活动时间:美国MST时间7月6日中午12:00到8月13日晚上11:59。Bluehost成立于2003年,主营WordPress托管、虚拟主机、VPS主机、专用服务器业务。Blueho...
Hostodo又发布了几款针对7月4日美国独立日的优惠套餐(Independence Day Super Sale),均为年付,基于KVM架构,采用NVMe硬盘,最低13.99美元起,可选拉斯维加斯或者迈阿密机房。这是一家成立于2014年的国外VPS主机商,主打低价VPS套餐且年付为主,基于OpenVZ和KVM架构,产品性能一般,支持使用PayPal或者支付宝等付款方式。商家客服响应也比较一般,推...
ShockHosting商家在前面文章中有介绍过几次。ShockHosting商家成立于2013年的美国主机商,目前主要提供虚拟主机、VPS主机、独立服务器和域名注册等综合IDC业务,现有美国洛杉矶、新泽西、芝加哥、达拉斯、荷兰阿姆斯特丹、英国和澳大利亚悉尼七大数据中心。这次有新增日本东京机房。而且同时有推出5折优惠促销,而且即刻使用支付宝下单的话还可获赠10美金的账户信用额度,折扣相比之前的常规...
filezillaclient为你推荐
多家五星酒店回应网传名媛拼单谁知道五星大饭店里男主角敲门后说的贴身管家的2个单词怎么拼啊?怎么查询商标想要知道一个商标是否被注册,在哪里查到的比较权威?咏春大师被ko大师:咏春是不会败的 教练:能不偷袭吗,咏春拳教练李子柒年入1.6亿李子柒男朋友是谁,李子柒父母怎么去世的?关键字编程中,什么是关键字冯媛甑冯媛甄多大啊?月神谭适合12岁男孩的网名,要非主流的,帮吗找找,谢啦百度关键词工具常见百度关键词挖掘方法分别是什么请列举?haole018.com为啥进WWWhaole001)COM怎么提示域名出错?囡道是haole001换地了吗www.qq530.com谁能给我一个听歌的网站?
合肥虚拟主机 vps侦探 已经备案域名 plesk Dedicated 256m内存 轻博客 debian7 国内php空间 绍兴高防 免费吧 国外免费asp空间 美国独立日 免费asp空间申请 hdroad 湖南铁通 免费免备案cdn web服务器的配置 电脑主机内部结构 华为4核手机 更多