40 research outputs found

    Pure functions in C: A small keyword for automatic parallelization

    Get PDF
    © 2020, The Author(s). The need for parallel task execution has been steadily growing in recent years since manufacturers mainly improve processor performance by increasing the number of installed cores instead of scaling the processor’s frequency. To make use of this potential, an essential technique to increase the parallelism of a program is to parallelize loops. Several automatic loop nest parallelizers have been developed in the past such as PluTo. The main restriction of these tools is that the loops must be statically analyzable which, among other things, disallows function calls within the loops. In this article, we present a seemingly simple extension to the C programming language which marks functions without side-effects. These functions can then basically be ignored when the automatic parallelizer checks the parallelizability of loops. We integrated the approach into the GCC compiler toolchain and evaluated it by running several real-world applications. Our experiments show that the C extension helps to identify additional parallelization opportunities and, thus, to significantly increase the performance of applications

    Theoretical investigation of the electronic structure of Fe(II) complexes at spin-state transitions

    Get PDF
    The electronic structure relevant to low spin (LS)high spin (HS) transitions in Fe(II) coordination compounds with a FeN6 core are studied. The selected [Fe(tz)6]2+(1) (tz=1H-tetrazole), [Fe(bipy)3]2+(2) (bipy=2,2’-bipyridine) and [Fe(terpy)2]2+ (3) (terpy=2,2’:6’,2’’-terpyridine) complexes have been actively studied experimentally, and with their respective mono-, bi-, and tridentate ligands, they constitute a comprehensive set for theoretical case studies. The methods in this work include density functional theory (DFT), time-dependent DFT (TD-DFT) and multiconfigurational second order perturbation theory (CASPT2). We determine the structural parameters as well as the energy splitting of the LS-HS states (ΔEHL) applying the above methods, and comparing their performance. We also determine the potential energy curves representing the ground and low-energy excited singlet, triplet, and quintet d6 states along the mode(s) that connect the LS and HS states. The results indicate that while DFT is well suited for the prediction of structural parameters, an accurate multiconfigurational approach is essential for the quantitative determination of ΔEHL. In addition, a good qualitative agreement is found between the TD-DFT and CASPT2 potential energy curves. Although the TD-DFT results might differ in some respect (in our case, we found a discrepancy at the triplet states), our results suggest that this approach, with due care, is very promising as an alternative for the very expensive CASPT2 method. Finally, the two dimensional (2D) potential energy surfaces above the plane spanned by the two relevant configuration coordinates in [Fe(terpy)2]2+ were computed both at the DFT and CASPT2 levels. These 2D surfaces indicate that the singlet-triplet and triplet-quintet states are separated along different coordinates, i.e. different vibration modes. Our results confirm that in contrast to the case of complexes with mono- and bidentate ligands, the singlet-quintet transitions in [Fe(terpy)2]2+ cannot be described using a single configuration coordinate

    Stable Isotope Evidence for Dietary Overlap between Alien and Native Gastropods in Coastal Lakes of Northern KwaZulu-Natal, South Africa

    Get PDF
    Tarebia granifera (Lamarck, 1822) is originally from South-East Asia, but has been introduced and become invasive in many tropical and subtropical parts of the world. In South Africa, T. granifera is rapidly invading an increasing number of coastal lakes and estuaries, often reaching very high population densities and dominating shallow water benthic invertebrate assemblages. An assessment of the feeding dynamics of T. granifera has raised questions about potential ecological impacts, specifically in terms of its dietary overlap with native gastropods.A stable isotope mixing model was used together with gut content analysis to estimate the diet of T. granifera and native gastropod populations in three different coastal lakes. Population density, available biomass of food and salinity were measured along transects placed over T. granifera patches. An index of isotopic (stable isotopes) dietary overlap (IDO, %) aided in interpreting interactions between gastropods. The diet of T. granifera was variable, including contributions from microphytobenthos, filamentous algae (Cladophora sp.), detritus and sedimentary organic matter. IDO was significant (>60%) between T. granifera and each of the following gastropods: Haminoea natalensis (Krauss, 1848), Bulinus natalensis (Küster, 1841) and Melanoides tuberculata (Müller, 1774). However, food did not appear to be limiting. Salinity influenced gastropod spatial overlap. Tarebia granifera may only displace native gastropods, such as Assiminea cf. ovata (Krauss, 1848), under salinity conditions below 20. Ecosystem-level impacts are also discussed.The generalist diet of T. granifera may certainly contribute to its successful establishment. However, although competition for resources may take place under certain salinity conditions and if food is limiting, there appear to be other mechanisms at work, through which T. granifera displaces native gastropods. Complementary stable isotope and gut content analysis can provide helpful ecological insights, contributing to monitoring efforts and guiding further invasive species research
    corecore