151 resultados para Java Native Interface
em CentAUR: Central Archive University of Reading - UK
Resumo:
MPJ Express is our implementation of MPI-like bindings for Java. In this paper we discuss our intermediate buffering layer that makes use of the so-called direct byte buffers introduced in the Java New I/O package. The purpose of this layer is to support the implementation of derived datatypes. MPJ Express is the first Java messaging library that implements this feature using pure Java. In addition, this buffering layer allows efficient implementation of communication devices based on proprietary networks such as Myrinet. In this paper we evaluate the performance of our buffering layer and demonstrate the usefulness of direct byte buffers. Also, we evaluate the performance of MPJ Express against other messaging systems using Myrinet and show that our buffering layer has made it possible to avoid the overheads suffered by other Java systems such as mpiJava that relies on the Java Native Interface.
Resumo:
MPJ Express is our implementation of MPI-like bindings for Java. In this paper we discuss our intermediate buffering layer that makes use of the so-called direct byte buffers introduced in the Java New I/O package. The purpose of this layer is to support the implementation of derived datatypes. MPJ Express is the first Java messaging library that implements this feature using pure Java. In addition, this buffering layer allows efficient implementation of communication devices based on proprietary networks such as Myrinet. In this paper we evaluate the performance of our buffering layer and demonstrate the usefulness of direct byte buffers. Also, we evaluate the performance of MPJ Express against other messaging systems using Myrinet and show that our buffering layer has made it possible to avoid the overheads suffered by other Java systems such as mpiJava that relies on the Java Native Interface.
Resumo:
The present study examines knowledge of the discourse-appropriateness of Clitic Right Dislocation (CLRD) in a population of Heritage (HS) and Spanish-dominant Native Speakers in order to test the predictions of the Interface Hypothesis (IH; Sorace 2011). The IH predicts that speakers in language contact situations will experience difficulties with integrating information involving the interface of syntax and discourse modules. CLRD relates a dislocated constituent to a discourse antecedent, requiring integration of syntax and pragmatics. Results from an acceptability judgment task did not support the predictions of the IH. No statistical differences between the HSs’ performance and that of L1-dominant native speakers were evidenced when participants were presented with an offline task. Thus, our study did not find any evidence of “incomplete acquisition” (Montrul 2008) as it pertains to this specific linguistic structure.
Resumo:
External reflection FTIR spectroscopy and surface pressure measurements were used to compare conformational changes in the adsorbed structures of three globular proteins at the air/water interface. Of the three proteins studied, lysozyme, bovine serum albumin and P-lactoglobulin, lysozyme was unique in its behaviour. Lysozyme adsorption was slow, taking approximately 2.5 h to reach a surface pressure plateau (from a 0.07 mM solution), and led to significant structural change. The FTIR spectra revealed that lysozyme formed a highly networked adsorbed layer of unfolded protein with high antiparallel beta-sheet content and that these changes occurred rapidly (within 10 min). This non-native secondary structure is analogous to that of a 3D heat-set protein gel, suggesting that the adsorbed protein formed a highly networked interfacial layer. Albumin and P-lactoglobulin adsorbed rapidly (reaching a plateau within 10 min) and with little chance to their native secondary structure.
Resumo:
Since its introduction in 1993, the Message Passing Interface (MPI) has become a de facto standard for writing High Performance Computing (HPC) applications on clusters and Massively Parallel Processors (MPPs). The recent emergence of multi-core processor systems presents a new challenge for established parallel programming paradigms, including those based on MPI. This paper presents a new Java messaging system called MPJ Express. Using this system, we exploit multiple levels of parallelism - messaging and threading - to improve application performance on multi-core processors. We refer to our approach as nested parallelism. This MPI-like Java library can support nested parallelism by using Java or Java OpenMP (JOMP) threads within an MPJ Express process. Practicality of this approach is assessed by porting to Java a massively parallel structure formation code from Cosmology called Gadget-2. We introduce nested parallelism in the Java version of the simulation code and report good speed-ups. To the best of our knowledge it is the first time this kind of hybrid parallelism is demonstrated in a high performance Java application. (C) 2009 Elsevier Inc. All rights reserved.
Resumo:
In the 1990s the Message Passing Interface Forum defined MPI bindings for Fortran, C, and C++. With the success of MPI these relatively conservative languages have continued to dominate in the parallel computing community. There are compelling arguments in favour of more modern languages like Java. These include portability, better runtime error checking, modularity, and multi-threading. But these arguments have not converted many HPC programmers, perhaps due to the scarcity of full-scale scientific Java codes, and the lack of evidence for performance competitive with C or Fortran. This paper tries to redress this situation by porting two scientific applications to Java. Both of these applications are parallelized using our thread-safe Java messaging system—MPJ Express. The first application is the Gadget-2 code, which is a massively parallel structure formation code for cosmological simulations. The second application uses the finite-domain time-difference method for simulations in the area of computational electromagnetics. We evaluate and compare the performance of the Java and C versions of these two scientific applications, and demonstrate that the Java codes can achieve performance comparable with legacy applications written in conventional HPC languages. Copyright © 2009 John Wiley & Sons, Ltd.
Resumo:
The causes of pathological conditions such as Alzheimer’s and Parkinson’s diseases are becoming better understood. Proteins that misfold from their native structure to form aggregates of β-sheet fibrils — termed amyloid — are known1,2 to be implicated in these ‘amyloid diseases’. Understanding the early steps of fibril formation is critical, and the conditions, mechanism and kinetics of protein and peptide aggregation are being widely investigated through a variety of in vitro studies. Kinetic aspects of the dispersion of the protein or peptide in solution are thought to influence the fibrillization process by mass-transfer effects. In addition, mixing also leads to shear forces, which can influence fibril growth by perturbing the equilibrium between the isolated and aggregated proteins, causing existing fibrils to fragment and create new nuclei3. Writing in the Journal of the American Chemical Society, David Talaga and co-workers have now highlighted4 an additional factor that can influence the fibrillization of amyloid-forming proteins — the presence of hydrophobic interfaces.
Resumo:
This experimental study tests the Interface Hypothesis by looking into processes at the syntax– discourse interface, teasing apart acquisition of syntactic, semantic and discourse knowledge. Adopting López’s (2009) pragmatic features [±a(naphor)] and [±c(ontrast)], which in combination account for the constructions of dislocation and fronting, we tested clitic left dislocation and fronted focus in the comprehension of English native speakers learning Spanish. Furthermore, we tested knowledge of an additional semantic property: the relationship between the discourse anaphor and the antecedent in clitic left dislocation (CLLD). This relationship is free: it can be subset, superset, part/whole. Syntactic knowledge of clitics was a condition for inclusion in the main test. Our findings indicate that all learners are sensitive to the semantic constraints. While the near-native speakers display native-like discourse knowledge, the advanced speakers demonstrated some discourse knowledge, and intermediate learners did not display any discourse knowledge. The findings support as well as challenge the Interface Hypothesis.
Resumo:
In this article, we present additional support of Duffield's (2003, 2005) distinction between Underlying Competence and Surface Competence. Duffield argues that a more fine-grained distinction between levels of competence and performance is warranted and necessary. While underlying competence is categorical, surface competence is more probabilistic and gradient, being sensitive to lexical and constructional contingencies, including the contextual appropriateness of a given construction. We examine a subset of results from a study comparing native and learner competence of properties at the syntax-discourse interface. Specifically, we look at the acceptability of Clitic Right Dislocation in native and L2 Spanish, in discourse-appropriate context. We argue that Duffield's distinction is a possible explanation of our results.
Resumo:
We describe a remote sensing method for measuring the internal interface height field in a rotating, two-layer annulus laboratory experiment. The method is non-invasive, avoiding the possibility of an interaction between the flow and the measurement device. The height fields retrieved are accurate and highly resolved in both space and time. The technique is based on a flow visualization method developed by previous workers, and relies upon the optical rotation properties of the working liquids. The previous methods returned only qualitative interface maps, however. In the present study, a technique is developed for deriving quantitative maps by calibrating height against the colour fields registered by a camera which views the flow from above. We use a layer-wise torque balance analysis to determine the equilibrium interface height field analytically, in order to derive the calibration curves. With the current system, viewing an annulus of outer radius 125 mm and depth 250 mm from a distance of 2 m, the inferred height fields have horizontal, vertical and temporal resolutions of up to 0.2 mm, 1 mm and 0.04 s, respectively.
Resumo:
This paper reviews late Roman `nail-cleaner strap-ends', a group of objects first discussed by Hawkes and Dunning (1961). The precise function of these objects is unclear as their shape suggests use as toilet instruments but the split socket suggests that they were part of belt-fittings. We suggest a detailed typology and discuss the dating evidence and the spatial distribution of the type. Regardless of their precise function, it is argued in this paper that nail-cleaner strap-ends of this type are unique to late Roman Britain and thus represent a distinct regional type. The use of nail-cleaner strap-ends can be viewed in the context of gender associations, military status and religious beliefs.
Resumo:
Sorghum (Sorghum bicolor) was grown for 40 days in. rhizocylinder (a growth container which permitted access to rh zosphere and nonrhizosphere soil), in two soils of low P status. Soils were fertilized with different rates of ammonium and nitrate and supplemented with 40 mg phosphorus (P) kg(-1) and inoculated with either Glomus mosseae (Nicol. and Gerd.) or nonmycorrhizal root inoculum.. N-serve (2 mg kg(-1)) was added to prevent nitrification. At harvest, soil from around the roots was collected at distances of 0-5, 5-10, and 10-20 mm from the root core which was 35 mm diameter. Sorghum plants, with and without mycorrhiza, grew larger with NH4+ than with NO3- application. After measuring soil pH, 4 3 suspensions of the same sample were titrated against 0.01 M HCl or 0.01 M NaOH until soil pH reached the nonplanted pH level. The acid or base requirement for each sample was calculated as mmol H+ or OFF kg(-1) soil. The magnitude of liberated acid or base depended on the form and rate of nitrogen and soil type. When the plant root was either uninfected or infected with mycorrhiza., soil pH changes extended up to 5 mm from the root core surface. In both soils, ammonium as an N source resulted in lower soil pH than nitrate. Mycorrhizal (VAM) inoculation did not enhance this difference. In mycorrhizal inoculated soil, P depletion extended tip to 20 mm from the root surface. In non-VAM inoculated soil P depletion extended up to 10 mm from the root surface and remained unchanged at greater distances. In the mycorrhizal inoculated soils, the contribution of the 0-5 mm soil zone to P uptake was greater than the core soil, which reflects the hyphal contribution to P supply. Nitrogen (N) applications that caused acidification increased P uptake because of increased demand; there is no direct evidence that the increased uptake was due to acidity increasing the solubility of P although this may have been a minor effect.