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
热网互联怎么样?热网互联(hotiis)是随客云计算(Suike.Cloud)成立于2009年,增值电信业务经营许可证:B1-20203716)旗下平台。热网互联云主机是CN2高速回国线路,香港/日本/洛杉矶/韩国CN2高速线路云主机,最低33元/月;热网互联国内BGP高防服务器,香港服务器,日本服务器全线活动中,大量七五折来袭!点击进入:热网互联官方网站地址热网互联香港/日本/洛杉矶/韩国cn2...
在2014年发现原来使用VPS的客户需求慢慢的在改版,VPS已经不能满足客户的需求。我们开始代理机房的独立服务器,主推和HS机房的独立服务器。经过一年多的发展,我们发现代理的服务器配置参差不齐,机房的售后服务也无法完全跟上,导致了很多问题发生,对使用体验带来了很多的不便,很多客户离开了我们。经过我们慎重的考虑和客户的建议。我们在2015开始了重大的改变, 2015年,我们开始计划托管自己...
inlicloud怎么样?inlicloud(引力主机)主要产品为国内NAT系列VPS,目前主要有:上海联通NAT(200Mbps带宽)、宿州联通NAT(200Mbps带宽)、广州移动NAT(200Mbps带宽)。根据官方的说法国内的NAT系列VPS不要求备案、不要求实名、对中转要求也不严格,但是,禁止任何形式的回国!安徽nat/上海联通/广州移动/江门移动nat云主机,2核1G/200Mbps仅...
filezillaclient为你推荐
百度爱好者学农业有前途吗?有经验人士谈一下. 动物科学专业怎样?地图应用谁知道什么地图软件好用,求 最好可以看到路上行人rawtoolsU盘显示是RAW格式怎么办钟神发战旗TV ID:新年快乐丶未央不见是哪个主播www.119mm.comwww.993mm+com精品集!5xoy.comhttp www.05eee.comdadi.tvApple TV是干嘛的?怎么用?多少钱?www.toutoulu.comWWW【toutoulu】cOM怎么搜不到了?到哪里能看到toutoulu视频?机器蜘蛛《不思议迷宫》四个机器蜘蛛怎么得 获得攻略方法介绍官人放题戴望舒的《狱中题壁》
shopex虚拟主机 域名抢注 免费申请网站域名 大硬盘 kvmla idc评测网 名片模板psd 轻量 大容量存储 租空间 湖南服务器托管 bgp双线 新家坡 linux服务器维护 服务器合租 台湾谷歌 上海服务器 创建邮箱 iki 后门 更多