Software Open Access
<?xml version='1.0' encoding='utf-8'?> <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://datacite.org/schema/kernel-4" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4.1/metadata.xsd"> <identifier identifierType="DOI">10.5281/zenodo.1305227</identifier> <creators> <creator> <creatorName>Airidas Korolkovas</creatorName> <nameIdentifier nameIdentifierScheme="ORCID" schemeURI="http://orcid.org/">0000-0001-7904-5639</nameIdentifier> <affiliation>Uppsala University</affiliation> </creator> </creators> <titles> <title>Pushing the frontiers of polymer simulation with texture memory</title> </titles> <publisher>Zenodo</publisher> <publicationYear>2018</publicationYear> <subjects> <subject>GPU, CUDA, textures, polymers, entanglement, reptation</subject> </subjects> <dates> <date dateType="Issued">2018-07-04</date> </dates> <language>en</language> <resourceType resourceTypeGeneral="Software"/> <alternateIdentifiers> <alternateIdentifier alternateIdentifierType="url">https://zenodo.org/record/1305227</alternateIdentifier> </alternateIdentifiers> <relatedIdentifiers> <relatedIdentifier relatedIdentifierType="URL" relationType="IsCitedBy">https://arxiv.org/abs/1805.08508</relatedIdentifier> <relatedIdentifier relatedIdentifierType="DOI" relationType="IsCitedBy">10.1002/adts.201800078</relatedIdentifier> <relatedIdentifier relatedIdentifierType="DOI" relationType="IsVersionOf">10.5281/zenodo.1305226</relatedIdentifier> </relatedIdentifiers> <rightsList> <rights rightsURI="https://creativecommons.org/licenses/by/4.0/legalcode">Creative Commons Attribution 4.0 International</rights> <rights rightsURI="info:eu-repo/semantics/openAccess">Open Access</rights> </rightsList> <descriptions> <description descriptionType="Abstract"><p>Pushing the frontiers of polymer simulation with texture memory<br> ---------------------------------------------------------------</p> <p><br> Welcome to the Source Code for simulating entangled star polymers.<br> This custom software was used to generate data for the article &ldquo;Five dimensional entanglement in star polymer dynamics&quot;<br> published in Advanced Theory and Simulations (Wiley)<br> A preprint is available here: https://arxiv.org/abs/1805.08508</p> <p>The demo provided here simulates Brownian dynamics of NS=104 stars with 3 arms, of length N=356 beads per arm.<br> It requires a CUDA-enabled GPU card, which is managed from a Matlab environment using the launchstars.m script.<br> The .cu source files are included and have been pre-compiled for several star sizes using this command:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mexcuda mystar356.cu</p> <p>Now simply run:<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; launchstars.m</p> <p>The default settings create the initial polymer configuration in Matlab, which is then transferred to GPU and processed by CUDA for 1000 steps.<br> The resulting configuration is returned to Matlab, and selected data is stored for later analysis.<br> This cycle is repeated 200 times, and the real-space configuration is optionally plotted in 3D (see a snapshot in the Figures folder).<br> Once the demo is complete, you may verify the speed of the computation using this command (it runs an extra numIterations=1000 steps):</p> <p>&nbsp;&nbsp; &nbsp;tic; [R, randvector, ~] = fh(single(gpuArray(R)), randvector, b, vstrong, rstrong, cosbeta, numIterations, timeStep); toc;<br> &nbsp;&nbsp; &nbsp;Elapsed time is 0.398752 seconds.</p> <p>The above figure is for a box of 104*3*356=111072 beads, 1000 iterations, using a Titan XP card donated by the NVIDIA Corporation.<br> The whole demo lasts about 1 minute 30 seconds.<br> The branch point trajectory may be analysed by running the script autodiff.m provided in the Data Analysis Tools folder.<br> A typical result is shown in the MSD.pdf figure. Sub-reptative behaviour (negative slope) is apparent within one minute of simulation.</p> <p><br> Author:<br> Airidas Korolkovas, PhD<br> Institut Laue-Langevin<br> Uppsala University<br> korolkovas@ill.fr<br> airidas.korolkovas89@gmail.com</p> <p>July 04, 2018</p></description> </descriptions> </resource>
All versions | This version | |
---|---|---|
Views | 1,576 | 1,578 |
Downloads | 50 | 50 |
Data volume | 1.3 GB | 1.3 GB |
Unique views | 1,476 | 1,478 |
Unique downloads | 44 | 44 |