Software Open Access

Pushing the frontiers of polymer simulation with texture memory

Airidas Korolkovas

DCAT Export

<?xml version='1.0' encoding='utf-8'?>
<rdf:RDF xmlns:rdf="" xmlns:adms="" xmlns:dc="" xmlns:dct="" xmlns:dctype="" xmlns:dcat="" xmlns:duv="" xmlns:foaf="" xmlns:frapo="" xmlns:geo="" xmlns:gsp="" xmlns:locn="" xmlns:org="" xmlns:owl="" xmlns:prov="" xmlns:rdfs="" xmlns:schema="" xmlns:skos="" xmlns:vcard="" xmlns:wdrs="">
  <rdf:Description rdf:about="">
    <rdf:type rdf:resource=""/>
    <dct:type rdf:resource=""/>
    <dct:identifier rdf:datatype=""></dct:identifier>
    <foaf:page rdf:resource=""/>
      <rdf:Description rdf:about="">
        <rdf:type rdf:resource=""/>
        <dct:identifier rdf:datatype="">0000-0001-7904-5639</dct:identifier>
        <foaf:name>Airidas Korolkovas</foaf:name>
            <foaf:name>Uppsala University</foaf:name>
    <dct:title>Pushing the frontiers of polymer simulation with texture memory</dct:title>
    <dct:issued rdf:datatype="">2018</dct:issued>
    <dcat:keyword>GPU, CUDA, textures, polymers, entanglement, reptation</dcat:keyword>
    <dct:issued rdf:datatype="">2018-07-04</dct:issued>
    <dct:language rdf:resource=""/>
    <owl:sameAs rdf:resource=""/>
        <skos:notation rdf:datatype=""></skos:notation>
    <dct:relation rdf:resource=""/>
    <dct:relation rdf:resource=""/>
    <dct:isVersionOf rdf:resource=""/>
    <dct:description>&lt;p&gt;Pushing the frontiers of polymer simulation with texture memory&lt;br&gt; ---------------------------------------------------------------&lt;/p&gt; &lt;p&gt;&lt;br&gt; Welcome to the Source Code for simulating entangled star polymers.&lt;br&gt; This custom software was used to generate data for the article &amp;ldquo;Five dimensional entanglement in star polymer dynamics&amp;quot;&lt;br&gt; published in Advanced Theory and Simulations (Wiley)&lt;br&gt; A preprint is available here:;/p&gt; &lt;p&gt;The demo provided here simulates Brownian dynamics of NS=104 stars with 3 arms, of length N=356 beads per arm.&lt;br&gt; It requires a CUDA-enabled GPU card, which is managed from a Matlab environment using the launchstars.m script.&lt;br&gt; The .cu source files are included and have been pre-compiled for several star sizes using this command:&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mexcuda;/p&gt; &lt;p&gt;Now simply run:&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; launchstars.m&lt;/p&gt; &lt;p&gt;The default settings create the initial polymer configuration in Matlab, which is then transferred to GPU and processed by CUDA for 1000 steps.&lt;br&gt; The resulting configuration is returned to Matlab, and selected data is stored for later analysis.&lt;br&gt; This cycle is repeated 200 times, and the real-space configuration is optionally plotted in 3D (see a snapshot in the Figures folder).&lt;br&gt; Once the demo is complete, you may verify the speed of the computation using this command (it runs an extra numIterations=1000 steps):&lt;/p&gt; &lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;tic; [R, randvector, ~] = fh(single(gpuArray(R)), randvector, b, vstrong, rstrong, cosbeta, numIterations, timeStep); toc;&lt;br&gt; &amp;nbsp;&amp;nbsp; &amp;nbsp;Elapsed time is 0.398752 seconds.&lt;/p&gt; &lt;p&gt;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.&lt;br&gt; The whole demo lasts about 1 minute 30 seconds.&lt;br&gt; The branch point trajectory may be analysed by running the script autodiff.m provided in the Data Analysis Tools folder.&lt;br&gt; A typical result is shown in the MSD.pdf figure. Sub-reptative behaviour (negative slope) is apparent within one minute of simulation.&lt;/p&gt; &lt;p&gt;&lt;br&gt; Author:&lt;br&gt; Airidas Korolkovas, PhD&lt;br&gt; Institut Laue-Langevin&lt;br&gt; Uppsala University&lt;br&gt;;br&gt;;/p&gt; &lt;p&gt;July 04, 2018&lt;/p&gt;</dct:description>
    <dct:accessRights rdf:resource=""/>
      <dct:RightsStatement rdf:about="info:eu-repo/semantics/openAccess">
        <rdfs:label>Open Access</rdfs:label>
        <dct:license rdf:resource=""/>
        <dcat:accessURL rdf:resource=""/>
        <dcat:accessURL rdf:resource=""/>
        <dcat:downloadURL rdf:resource=""/>
All versions This version
Views 1,5621,564
Downloads 5050
Data volume 1.3 GB1.3 GB
Unique views 1,4621,464
Unique downloads 4444


Cite as