1 Templates for Linear Algebra Problems

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

1TemplatesforLinearAlgebraProblemsZhaojunBaiUniversityofKentuckyDavidDayUniversityofKentuckyJamesDemmelUniversityofCalifornia-BerkeleyJackDongarraUniversityofTennesseeandOakRidgeNationalLaboratoryMingGuUniversityofCalifornia-BerkeleyAxelRuheChalmersUniversityofTechnology,GoteborgandHenkvanderVorstUtrechtUniversityAbstract.Theincreasingavailabilityofadvanced-architecturecomputersishavingaverysignicanteectonallspheresofscienticcomputation,includingalgorithmresearchandsoftwaredevelopmentinnumericallinearalgebra.Linearalgebra{inparticular,thesolutionoflinearsystemsofequationsandeigenvalueproblems{liesattheheartofmostcalculationsinscienticcomputing.Thischapterdiscussessomeoftherecentdevelopmentsinlinearalgebradesignedtohelptheuseronadvanced-architecturecomputers.Muchoftheworkindevelopinglinearalgebrasoftwareforadvanced-architecturecomputersismotivatedbytheneedtosolvelargeproblemsonthefastestcomputersavailable.Inthischapter,wefocusonfourbasicissues:(1)themotivationforthework;(2)thedevelopmentofstandardsforuseinlinearalgebraandthebuildingblocksforalibrary;(3)aspectsoftemplatesforthesolutionoflargesparsesystemsoflinearalgorithm;and(4)templatesforthesolutionoflargesparseeigenvalueproblems.Thislastprojectisunderdevelopmentandwewillpaymoreattentiontoitinthischapter.1IntroductionandMotivationLargescaleproblemsofengineeringandscienticcomputingoftenrequiresolutionsoflinearalgebraproblems,suchassystemsoflinearequations,leastsquaresproblems,oreigenvalueproblems.Thereisavastamountofmaterialavailableonsolvingsuchproblems,inbooks,injournalarticles,andassoftware.Thissoftwareconsistsofwell-maintainedlibrariesavailablecommerciallyorelectronicallyinthepublic-domain,otherlibrariesdistributedwithtextsorotherbooks,individualsubroutinestestedandpublishedbyorganizationsliketheACM,andyetmoresoftwareavailablefromindividualsorelectronicsourceslikeNetlib[21],whichmaybehardtondorcomewithoutsupport.Soalthoughmanychallengingnumericallinearalgebraproblemsstillawaitsatisfactorysolutions,manyexcellentmethodsexistfromaplethoraofsources.?ThisworkwasmadepossibleinpartbygrantsfromtheDefenseAdvancedResearchProjectsAgencyundercontractDAAL03-91-C-0047administeredbytheArmyResearchOce,theOceofScienticComputingU.S.DepartmentofEnergyunderContractDE-AC05-84OR21400,theNationalScienceFoundationSci-enceandTechnologyCenterCooperativeAgreementNo.CCR-8809615,andNationalScienceFoundationGrantNo.ASC-9005933.Butthesheernumberofalgorithmsandtheirimplementationsmakesithardevenforexperts,letalonegeneralusers,tondthebestsolutionforagivenproblem.Thishasledtothedevelopmentofvariouson-linesearchfacilitiesfornumericalsoftware.OnehasbeendevelopedbyNIST(NationalInstituteofStandardsandTechnology),andiscalledGAMS(GuidetoAvailableMathematicalSoftware)[7];anotherispartofNetlib[21].Thesefacilitiespermitsearchbasedonlibrarynames,subroutinesnames,keywords,andataxonomyoftopicsinnumericalcomputing.Butforthegeneraluserinsearchofadviceastowhichalgorithmorwhichsubroutinetouseforherparticularproblem,theyoerrelativelylittleadvice.Furthermore,manychallengingproblemscannotbesolvedwithexisting\black-boxsoftwarepackagesinareasonabletimeorspace.Thismeansthatmorespecialpurposemethodsmustbeused,andtunedfortheproblemathand.Thistuningisthegreatestchallenge,sincetherearealargenumberoftuningoptionsavailable,andformanyproblemsitisachallengetogetanyacceptableansweratall,orhavecondenceinwhatiscomputed.Theexpertiseregardingwhichoptions,orcombinationsofoptions,islikelytoworkinaspecicapplicationarea,iswidelydistributed.Thus,thereisaneedfortoolstohelpuserspickthebestalgorithmandimplementationfortheirnumericalproblems,aswellasexpertadviceonhowtotunethem.Infact,weseethreepotentialusercommunitiesforsuchtools:{The\HPCC(HighPerformanceComputingandCommunication)communityconsistsofthosescientiststryingtosolvethelargest,hardestapplicationsintheirelds.Theydesirehighspeed,accesstoalgorithmicdetailsforperformancetuning,andreliabilityfortheirproblem.{Engineersandscientistsgenerallydesireeasy-to-use,reliablesoftware,thatisalsoreasonablyecient.{Studentsandteacherswantsimplebutgenerallyeectivealgorithms,whichareeasytoexplainandunderstand.Itmayseemdiculttoaddresstheneedsofsuchdiversecommunitieswithasingledocument.Nevertheless,webelievethisispossibleintheformoftemplates.Atemplateforanalgorithmincludes1.Ahigh-leveldescriptionofthealgorithm.2.Adescriptionofwhenitiseective,includingconditionsontheinput,andestimatesofthetime,spaceorotherresourcesrequired.Iftherearenaturalcompetitors,theywillbereferenced.3.Adescriptionofavailablerenementsanduser-tunableparameters,aswellasadviceonwhentousethem.4.Pointerstocompleteorpartialimplementations,perhapsinseverallanguagesorforseveralarchitectures(eachparallelarchitecture).Theseimplementationexposethosedetailssuitableforuser-tuning,andhidetheothers.5.Numericalexamples,onacommonsetofexamples,illustratingbotheasycasesanddicultcases.6.Troubleshootingadvice.7.Pointerstotextsorjournalarticlesforfurtherinformation.Inadditiontoindividualtemplates,therewillbeadecisiontreetohe

1 / 22
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功